NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_TextBuilder.hxx
1//--------------------------------------------------------------------------
2// 版权所有 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API C++接口的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_TextBuilder.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/Expression.hxx>
22#include <NXOpen/GeometricUtilities_FrameOnPathBuilder.hxx>
23#include <NXOpen/GeometricUtilities_RectangularFrameBuilder.hxx>
24#include <NXOpen/Features_FeatureBuilder.hxx>
25#include <NXOpen/ScCollector.hxx>
26#include <NXOpen/Section.hxx>
27#include <NXOpen/libnxopencpp_features_exports.hxx>
28#ifdef _MSC_VER
29#pragma warning(push)
30#pragma warning(disable:4996)
31#endif
32#ifdef __GNUC__
33#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34#endif
35namespace NXOpen
36{
37 namespace Features
38 {
39 class TextBuilder;
40 }
41 class Direction;
42 class Expression;
43 namespace Features
44 {
45 class FeatureBuilder;
46 }
47 namespace GeometricUtilities
48 {
50 }
51 namespace GeometricUtilities
52 {
54 }
55 class Plane;
56 class ScCollector;
57 class Section;
58 namespace Features
59 {
60 class _TextBuilderBuilder;
61 class TextBuilderImpl;
130 class NXOPENCPP_FEATURESEXPORT TextBuilder : public NXOpen::Features::FeatureBuilder
131 {
139
145
151
174
182 private: TextBuilderImpl * m_textbuilder_impl;
183 private: friend class _TextBuilderBuilder;
184 protected: TextBuilder();
185 public: ~TextBuilder();
190 (
191 );
196 (
197 );
202 (
203 );
208 (
210 );
215 (
216 );
221 (
222 );
226 public: void SetSectionPlane
227 (
228 NXOpen::Plane * sectionPlane
229 );
234 (
235 );
240 (
241 bool canReverse
242 );
247 (
248 );
253 (
255 );
260 (
261 );
266 (
267 NXOpen::Direction * orientationVector
268 );
273 (
274 );
278 public: bool CanReferenceText
279 (
280 );
285 (
286 bool canReferenceText
287 );
292 (
293 );
297 public: void SelectFont
298 (
299 const NXString & fontName ,
301 );
306 (
307 const char * fontName ,
309 );
314 (
315 );
319 public: void SetScript
320 (
322 );
327 (
328 );
332 public: void SetFontStyle
333 (
335 );
340 (
341 );
346 (
347 bool canUseKerningSpaces
348 );
353 (
354 );
359 (
360 bool canCreateBoundingBox
361 );
366 (
367 );
372 (
373 );
377 public: bool IsAssociative
378 (
379 );
383 public: void SetAssociative
384 (
385 bool isAssociative
386 );
390 public: bool CanJoinCurves
391 (
392 );
396 public: void SetCanJoinCurves
397 (
398 bool canJoinCurves
399 );
403 public: bool CanProjectCurves
404 (
405 );
410 (
411 bool canProjectCurves
412 );
417 (
418 );
422 public: void SetType
423 (
425 );
430 (
431 );
436 (
437 );
442 (
443 );
447 public: void SetTextString
448 (
449 const NXString & textString
450 );
455 (
456 const char * textString
457 );
461 public: bool IsPrintMark
462 (
463 );
467 public: void SetPrintMark
468 (
469 bool isPrintMark
470 );
475 (
476 );
481 (
482 );
487 (
488 const NXString & printMarkUsageLabel
489 );
494 (
495 const char * printMarkUsageLabel
496 );
501 (
502 );
507 (
508 bool enable
509 );
513 public: double FontGapFactor
514 (
515 );
519 public: void SetFontGapFactor
520 (
521 double gapFactor
522 );
527 (
528 );
533 (
534 bool enable
535 );
539 public: int CaretPosition
540 (
541 );
545 public: void SetCaretPosition
546 (
547 int position
548 );
549 };
550 }
551}
552#ifdef _MSC_VER
553#pragma warning(pop)
554#endif
555#ifdef __GNUC__
556#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
557#pragma GCC diagnostic warning "-Wdeprecated-declarations"
558#endif
559#endif
560#undef EXPORTLIBRARY