NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Annotations_TextComponent.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口访问JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Annotations_TextComponent.ja
9//
10// 生成方式:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成,请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/TransientObject.hxx>
22#include <NXOpen/ugmath.hxx>
23#include <NXOpen/libnxopencpp_annotations_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Annotations
34 {
35 class TextComponent;
36 }
37 namespace Annotations
38 {
39 }
40 namespace Annotations
41 {
42 class TextComponentImpl;
46 class NXOPENCPP_ANNOTATIONSEXPORT TextComponent : public NXOpen::TransientObject
47 {
66 private: TextComponentImpl * m_textcomponent_impl;
68 public: explicit TextComponent(void *ptr);
70
73 public: virtual ~TextComponent();
78 (
79 );
83 public: std::vector<NXString> GetText
84 (
85 );
89 public: int NumberLines
90 (
91 );
98 (
99 );
108 (
109 );
113 public: double Height
114 (
115 );
119 public: double Length
120 (
121 );
125 public: double GetDistanceToTop
126 (
127 );
132 (
133 int nth
134 );
138 public: double GetAngle
139 (
140 );
141 }; //lint !e1712 类未定义默认构造函数
142 }
143}
144#ifdef _MSC_VER
145#pragma warning(pop)
146#endif
147#ifdef __GNUC__
148#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
149#pragma GCC diagnostic warning "-Wdeprecated-declarations"
150#endif
151#endif
152#undef EXPORTLIBRARY