NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
32namespace NXOpen
33{
34 namespace Diagramming
35 {
36 class TextStyleBuilder;
37 }
38 namespace GeometricUtilities
39 {
41 }
43 namespace Diagramming
44 {
45 class _TextStyleBuilderBuilder;
46 class TextStyleBuilderImpl;
52 class NXOPENCPP_DIAGRAMMINGEXPORT TextStyleBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
53 {
64
73
82 private: TextStyleBuilderImpl * m_textstylebuilder_impl;
83 private: friend class _TextStyleBuilderBuilder;
84 protected: TextStyleBuilder();
85 public: ~TextStyleBuilder();
90 (
91 );
95 public: void SetTextAlignment
96 (
98 );
102 public: bool TextAllowWrapping
103 (
104 );
109 (
110 bool allowWrapping
111 );
116 (
117 );
121 public: void SetTextAutoFit
122 (
124 );
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 );
174 (
175 );
179 public: void SetTruncationMode
180 (
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