NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
PrintPDFBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// PrintPDFBuilder.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.h>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/CDF.hxx>
22
#include <NXOpen/Builder.hxx>
23
#include <NXOpen/PlotSourceBuilder.hxx>
24
#include <NXOpen/WidthDefinition.hxx>
25
#include <NXOpen/libnxopencpp_exports.hxx>
26
#ifdef _MSC_VER
27
#pragma warning(push)
28
#pragma warning(disable:4996)
29
#endif
30
#ifdef __GNUC__
31
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32
#endif
33
namespace
NXOpen
34
{
35
class
PrintPDFBuilder
;
36
class
Builder
;
37
class
CDF
;
38
class
PlotSourceBuilder
;
39
class
WidthDefinition
;
40
class
_PrintPDFBuilderBuilder;
41
class
PrintPDFBuilderImpl;
58
class
NXOPENCPPEXPORT PrintPDFBuilder :
public
NXOpen::Builder
59
{
61
public
:
enum
Color
62
{
63
ColorAsDisplayed
,
64
ColorPartColors
,
65
ColorCustomPalette
,
66
ColorBlackOnWhite
,
67
ColorLegacyColors
,
68
ColorColorsByWidth
69
};
70
71
public
:
enum
Width
72
{
73
WidthStandardWidths
,
74
WidthSingleWidth
,
75
WidthCustomThreeWidths
,
76
WidthCustomPalette
77
};
78
79
public
:
enum
SizeOption
80
{
81
SizeOptionFullScale
,
82
SizeOptionScaleFactor
,
83
SizeOptionDimension
84
};
85
86
public
:
enum
UnitsOption
87
{
88
UnitsOptionMetric
,
89
UnitsOptionEnglish
90
};
91
92
public
:
enum
ImageResolutionOption
93
{
94
ImageResolutionOptionDraft
,
95
ImageResolutionOptionLow
,
96
ImageResolutionOptionMedium
,
97
ImageResolutionOptionHigh
98
};
99
100
public
:
enum
ActionOption
101
{
102
ActionOptionNew
,
103
ActionOptionOverwrite
,
104
ActionOptionAppend
,
105
ActionOptionNative
106
};
107
108
public
:
enum
OutputTextOption
109
{
110
OutputTextOptionText
,
111
OutputTextOptionPolylines
112
};
113
114
public
:
enum
RelationOption
115
{
116
RelationOptionSpecification
,
117
RelationOptionManifestation
,
118
RelationOptionUndefined
119
};
120
private
:
PrintPDFBuilderImpl
* m_printpdfbuilder_impl;
121
private
:
friend
class
_PrintPDFBuilderBuilder;
122
protected
:
PrintPDFBuilder
();
123
public
:
~PrintPDFBuilder
();
128
public
:
NXOpen::PrintPDFBuilder::ActionOption
Action
129
(
130
);
135
public
:
void
SetAction
136
(
137
NXOpen::PrintPDFBuilder::ActionOption
action
138
);
143
public
:
NXString
DatasetName
144
(
145
);
150
public
:
void
SetDatasetName
151
(
152
const
NXString
& datasetName
153
);
158
void
SetDatasetName
159
(
160
const
char
* datasetName
161
);
165
public
:
void
Assign
166
(
167
);
172
public
:
NXOpen::PrintPDFBuilder::Color
Colors
173
(
174
);
179
public
:
void
SetColors
180
(
181
NXOpen::PrintPDFBuilder::Color
colors
182
);
187
public
:
void
DefinePalette
188
(
189
);
194
public
:
NXOpen::PrintPDFBuilder::Width
Widths
195
(
196
);
201
public
:
void
SetWidths
202
(
203
NXOpen::PrintPDFBuilder::Width
widths
204
);
209
public
:
void
DefineWidths
210
(
211
);
216
public
:
NXOpen::PrintPDFBuilder::SizeOption
Size
217
(
218
);
222
public
:
void
SetSize
223
(
224
NXOpen::PrintPDFBuilder::SizeOption
size
225
);
229
public
:
double
Scale
230
(
231
);
235
public
:
void
SetScale
236
(
237
double
scale
238
);
242
public
:
NXOpen::PrintPDFBuilder::UnitsOption
Units
243
(
244
);
248
public
:
void
SetUnits
249
(
250
NXOpen::PrintPDFBuilder::UnitsOption
units
251
);
255
public
:
double
XDimension
256
(
257
);
261
public
:
void
SetXDimension
262
(
263
double
xDimension
264
);
268
public
:
double
YDimension
269
(
270
);
274
public
:
void
SetYDimension
275
(
276
double
yDimension
277
);
281
public
:
bool
Append
282
(
283
);
287
public
:
void
SetAppend
288
(
289
bool
append
290
);
294
public
:
bool
AddWatermark
295
(
296
);
300
public
:
void
SetAddWatermark
301
(
302
bool
addWatermark
303
);
307
public
:
NXString
Watermark
308
(
309
);
313
public
:
void
SetWatermark
314
(
315
const
NXString
& watermark
316
);
320
void
SetWatermark
321
(
322
const
char
* watermark
323
);
327
public
:
NXString
Filename
328
(
329
);
333
public
:
void
SetFilename
334
(
335
const
NXString
& filename
336
);
340
void
SetFilename
341
(
342
const
char
* filename
343
);
350
public
:
NXOpen::CDF
*
CreateCdf
351
(
352
);
359
public
:
NXOpen::CDF
*
GetCdf
360
(
361
);
368
public
:
NXOpen::WidthDefinition
*
CreateWidthDefinition
369
(
370
);
377
public
:
NXOpen::WidthDefinition
*
GetWidthDefinition
378
(
379
);
383
public
:
bool
RasterImages
384
(
385
);
389
public
:
void
SetRasterImages
390
(
391
bool
rasterImages
392
);
397
public
:
bool
ShadedGeometry
398
(
399
);
403
public
:
void
SetShadedGeometry
404
(
405
bool
shadedGeometry
406
);
411
public
:
bool
CustomSymbolsInForeground
412
(
413
);
418
public
:
void
SetCustomSymbolsInForeground
419
(
420
bool
customSymbolsInForeground
421
);
425
public
:
NXOpen::PrintPDFBuilder::ImageResolutionOption
ImageResolution
426
(
427
);
431
public
:
void
SetImageResolution
432
(
433
NXOpen::PrintPDFBuilder::ImageResolutionOption
imageResolution
434
);
438
public
:
NXOpen::PlotSourceBuilder
*
SourceBuilder
439
(
440
);
444
public
:
NXOpen::PrintPDFBuilder::OutputTextOption
OutputText
445
(
446
);
450
public
:
void
SetOutputText
451
(
452
NXOpen::PrintPDFBuilder::OutputTextOption
outputText
453
);
457
public
:
NXOpen::PrintPDFBuilder::RelationOption
Relation
458
(
459
);
463
public
:
void
SetRelation
464
(
465
NXOpen::PrintPDFBuilder::RelationOption
relation
466
);
470
public
:
NXString
DatasetType
471
(
472
);
476
public
:
void
SetDatasetType
477
(
478
const
NXString
& datasetType
479
);
483
void
SetDatasetType
484
(
485
const
char
* datasetType
486
);
490
public
:
NXString
NamedReferenceType
491
(
492
);
496
public
:
void
SetNamedReferenceType
497
(
498
const
NXString
& namedReferenceType
499
);
503
void
SetNamedReferenceType
504
(
505
const
char
* namedReferenceType
506
);
510
public
:
bool
DeleteDatasets
511
(
512
);
516
public
:
void
SetDeleteDatasets
517
(
518
bool
deleteDatasets
519
);
523
public
:
bool
CreateNewFromUi
524
(
525
);
529
public
:
void
SetCreateNewFromUi
530
(
531
bool
fromUI
532
);
533
};
534
}
535
#ifdef _MSC_VER
536
#pragma warning(pop)
537
#endif
538
#ifdef __GNUC__
539
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
540
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
541
#endif
542
#endif
543
#undef EXPORTLIBRARY