NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Diagramming_TextStyleBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Diagramming_TextStyleBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/TextColorFontWidthBuilder.hxx>
24
#include <NXOpen/libnxopencpp_diagramming_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Diagramming
35
{
36
class
TextStyleBuilder
;
37
}
38
namespace
GeometricUtilities
39
{
40
class
IComponentBuilder
;
41
}
42
class
TextColorFontWidthBuilder
;
43
namespace
Diagramming
44
{
45
class
_TextStyleBuilderBuilder;
46
class
TextStyleBuilderImpl;
52
class
NXOPENCPP_DIAGRAMMINGEXPORT TextStyleBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
53
{
58
public
:
enum
TextAlignmentType
59
{
60
TextAlignmentTypeLeft
,
61
TextAlignmentTypeCenter
,
62
TextAlignmentTypeRight
63
};
64
67
public
:
enum
TextAutoFitType
68
{
69
TextAutoFitTypeNone
,
70
TextAutoFitTypeResizeOutline
,
71
TextAutoFitTypeShrinkText
72
};
73
76
public
:
enum
TruncationModes
77
{
78
TruncationModesNone
,
79
TruncationModesTrim
,
80
TruncationModesSuffix
81
};
82
private
:
TextStyleBuilderImpl
* m_textstylebuilder_impl;
83
private
:
friend
class
_TextStyleBuilderBuilder;
84
protected
:
TextStyleBuilder
();
85
public
:
~TextStyleBuilder
();
89
public
:
NXOpen::Diagramming::TextStyleBuilder::TextAlignmentType
TextAlignment
90
(
91
);
95
public
:
void
SetTextAlignment
96
(
97
NXOpen::Diagramming::TextStyleBuilder::TextAlignmentType
alignment
98
);
102
public
:
bool
TextAllowWrapping
103
(
104
);
108
public
:
void
SetTextAllowWrapping
109
(
110
bool
allowWrapping
111
);
115
public
:
NXOpen::Diagramming::TextStyleBuilder::TextAutoFitType
TextAutoFit
116
(
117
);
121
public
:
void
SetTextAutoFit
122
(
123
NXOpen::Diagramming::TextStyleBuilder::TextAutoFitType
autoFit
124
);
128
public
:
NXOpen::TextColorFontWidthBuilder
*
TextColorFontWidth
129
(
130
);
134
public
:
bool
TextUnderlined
135
(
136
);
140
public
:
void
SetTextUnderlined
141
(
142
bool
underlined
143
);
147
public
:
bool
TextOverlined
148
(
149
);
153
public
:
void
SetTextOverlined
154
(
155
bool
overlined
156
);
160
public
:
double
TextHeight
161
(
162
);
166
public
:
void
SetTextHeight
167
(
168
double
height
169
);
173
public
:
NXOpen::Diagramming::TextStyleBuilder::TruncationModes
TruncationMode
174
(
175
);
179
public
:
void
SetTruncationMode
180
(
181
NXOpen::Diagramming::TextStyleBuilder::TruncationModes
truncation
182
);
187
public
:
virtual
bool
Validate
188
(
189
);
190
};
191
}
192
}
193
#ifdef _MSC_VER
194
#pragma warning(pop)
195
#endif
196
#ifdef __GNUC__
197
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
198
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
199
#endif
200
#endif
201
#undef EXPORTLIBRARY