NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
PrintBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// PrintBuilder.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/Builder.hxx>
22
#include <NXOpen/PlotSourceBuilder.hxx>
23
#include <NXOpen/libnxopencpp_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
31
namespace
NXOpen
32
{
33
class
PrintBuilder
;
34
class
Builder
;
35
class
PlotSourceBuilder
;
36
class
_PrintBuilderBuilder;
37
class
PrintBuilderImpl;
84
class
NXOPENCPPEXPORT PrintBuilder :
public
NXOpen::Builder
85
{
87
public
:
enum
OutputOption
88
{
89
OutputOptionWireframe
,
90
OutputOptionWireframeBlackWhite
,
91
OutputOptionShaded
92
};
93
94
public
:
enum
ImageResolutionOption
95
{
96
ImageResolutionOptionDraft
,
97
ImageResolutionOptionLow
,
98
ImageResolutionOptionMedium
,
99
ImageResolutionOptionHigh
100
};
101
102
public
:
enum
OrientationOption
103
{
104
OrientationOptionLandscape
,
105
OrientationOptionPortrait
106
};
107
108
public
:
enum
PaperSize
109
{
110
PaperSizeLetter
,
111
PaperSizeLegal
,
112
PaperSizeInch9x11
,
113
PaperSizeInch10x11
,
114
PaperSizeInch10x14
,
115
PaperSizeInch15x11
,
116
PaperSizeInch11x17
,
117
PaperSizeInch12x11
,
118
PaperSizeA2
,
119
PaperSizeA3
,
120
PaperSizeA3Extra
,
121
PaperSizeA3ExtraTransverse
,
122
PaperSizeA3Rotated
,
123
PaperSizeA3Transverse
,
124
PaperSizeA4
,
125
PaperSizeA4Extra
,
126
PaperSizeA4Plus
,
127
PaperSizeA4Rotated
,
128
PaperSizeA4Small
,
129
PaperSizeA4Transverse
,
130
PaperSizeA5
,
131
PaperSizeA5Extra
,
132
PaperSizeA5Rotated
,
133
PaperSizeA5Transverse
,
134
PaperSizeA6
,
135
PaperSizeA6Rotated
,
136
PaperSizeAPlus
,
137
PaperSizeB4
,
138
PaperSizeB4JisRotated
,
139
PaperSizeB5
,
140
PaperSizeB5Extra
,
141
PaperSizeB5JisRotated
,
142
PaperSizeB6Jis
,
143
PaperSizeB6JisRotated
,
144
PaperSizeBPlus
,
145
PaperSizeCSheet
,
146
PaperSizeDoubleJapanesePostcard
,
147
PaperSizeDoubleJapanesePostcardRotated
,
148
PaperSizeDSheet
,
149
PaperSizeEnvelope9
,
150
PaperSizeEnvelope10
,
151
PaperSizeEnvelope11
,
152
PaperSizeEnvelope12
,
153
PaperSizeEnvelope14
,
154
PaperSizeEnvelopeC5
,
155
PaperSizeEnvelopeC3
,
156
PaperSizeEnvelopeC4
,
157
PaperSizeEnvelopeC6
,
158
PaperSizeEnvelopeC65
,
159
PaperSizeEnvelopeB4
,
160
PaperSizeEnvelopeB5
,
161
PaperSizeEnvelopeB6
,
162
PaperSizeEnvelopeDl
,
163
PaperSizeEnvelopeInvite
,
164
PaperSizeEnvelopeItaly
,
165
PaperSizeEnvelopeMonarch
,
166
PaperSizeEnvelopePersonal
,
167
PaperSizeESheet
,
168
PaperSizeExecutive
,
169
PaperSizeFanfoldUs
,
170
PaperSizeFanfoldStandardGerman
,
171
PaperSizeFanfoldLegalGerman
,
172
PaperSizeFolio
,
173
PaperSizeIsoB4
,
174
PaperSizeJapanesePostcard
,
175
PaperSizeJapanesePostcardRotated
,
176
PaperSizeJapaneseEnvelopeChou3
,
177
PaperSizeJapaneseEnvelopeChou3Rotated
,
178
PaperSizeJapaneseEnvelopeChou4
,
179
PaperSizeJapaneseEnvelopeChou4Rotated
,
180
PaperSizeJapaneseEnvelopeKaku2
,
181
PaperSizeJapaneseEnvelopeKaku2Rotated
,
182
PaperSizeJapaneseEnvelopeKaku3
,
183
PaperSizeJapaneseEnvelopeKaku3Rotated
,
184
PaperSizeJapaneseEnvelopeYou4
,
185
PaperSizeJapaneseEnvelopeYou4Rotated
,
186
PaperSizeLedger
,
187
PaperSizeLegalExtra
,
188
PaperSizeLetterExtra
,
189
PaperSizeLetterExtraTransverse
,
190
PaperSizeLetterRotated
,
191
PaperSizeLetterSmall
,
192
PaperSizeLetterTransverse
,
193
PaperSizeNote
,
194
PaperSizePrc16k
,
195
PaperSizePrc16kRotated
,
196
PaperSizePrc32k
,
197
PaperSizePrc32kRotated
,
198
PaperSizePrc32kBig
,
199
PaperSizePrc32kBigRotated
,
200
PaperSizePrcEnvelope1
,
201
PaperSizePrcEnvelope1Rotated
,
202
PaperSizePrcEnvelope2
,
203
PaperSizePrcEnvelope2Rotated
,
204
PaperSizePrcEnvelope3
,
205
PaperSizePrcEnvelope3Rotated
,
206
PaperSizePrcEnvelope4
,
207
PaperSizePrcEnvelope4Rotated
,
208
PaperSizePrcEnvelope5
,
209
PaperSizePrcEnvelope5Rotated
,
210
PaperSizePrcEnvelope6
,
211
PaperSizePrcEnvelope6Rotated
,
212
PaperSizePrcEnvelope7
,
213
PaperSizePrcEnvelope7Rotated
,
214
PaperSizePrcEnvelope8
,
215
PaperSizePrcEnvelope8Rotated
,
216
PaperSizePrcEnvelope9
,
217
PaperSizePrcEnvelope9Rotated
,
218
PaperSizePrcEnvelope10
,
219
PaperSizePrcEnvelope10Rotated
,
220
PaperSizeQuarto
,
221
PaperSizeStatement
,
222
PaperSizeTabloid
,
223
PaperSizeTabloidExtra
,
224
PaperSizeCustom
225
};
226
private
:
PrintBuilderImpl
* m_printbuilder_impl;
227
private
:
friend
class
_PrintBuilderBuilder;
228
protected
:
PrintBuilder
();
229
public
:
~PrintBuilder
();
233
public
:
int
Copies
234
(
235
);
239
public
:
void
SetCopies
240
(
241
int
copies
242
);
246
public
:
double
ThinWidth
247
(
248
);
252
public
:
void
SetThinWidth
253
(
254
double
thinWidth
255
);
259
public
:
double
NormalWidth
260
(
261
);
265
public
:
void
SetNormalWidth
266
(
267
double
normalWidth
268
);
272
public
:
double
ThickWidth
273
(
274
);
278
public
:
void
SetThickWidth
279
(
280
double
thickWidth
281
);
285
public
:
double
Width1ScaleFactor
286
(
287
);
291
public
:
void
SetWidth1ScaleFactor
292
(
293
double
width1ScaleFactor
294
);
298
public
:
double
Width2ScaleFactor
299
(
300
);
304
public
:
void
SetWidth2ScaleFactor
305
(
306
double
width2ScaleFactor
307
);
311
public
:
double
Width3ScaleFactor
312
(
313
);
317
public
:
void
SetWidth3ScaleFactor
318
(
319
double
width3ScaleFactor
320
);
324
public
:
double
Width4ScaleFactor
325
(
326
);
330
public
:
void
SetWidth4ScaleFactor
331
(
332
double
width4ScaleFactor
333
);
337
public
:
double
Width5ScaleFactor
338
(
339
);
343
public
:
void
SetWidth5ScaleFactor
344
(
345
double
width5ScaleFactor
346
);
350
public
:
double
Width6ScaleFactor
351
(
352
);
356
public
:
void
SetWidth6ScaleFactor
357
(
358
double
width6ScaleFactor
359
);
363
public
:
double
Width7ScaleFactor
364
(
365
);
369
public
:
void
SetWidth7ScaleFactor
370
(
371
double
width7ScaleFactor
372
);
376
public
:
double
Width8ScaleFactor
377
(
378
);
382
public
:
void
SetWidth8ScaleFactor
383
(
384
double
width8ScaleFactor
385
);
389
public
:
double
Width9ScaleFactor
390
(
391
);
395
public
:
void
SetWidth9ScaleFactor
396
(
397
double
width9ScaleFactor
398
);
402
public
:
NXOpen::PrintBuilder::OutputOption
Output
403
(
404
);
408
public
:
void
SetOutput
409
(
410
NXOpen::PrintBuilder::OutputOption
outputOption
411
);
415
public
:
bool
WhiteBackground
416
(
417
);
421
public
:
void
SetWhiteBackground
422
(
423
bool
whiteBackground
424
);
428
public
:
NXOpen::PlotSourceBuilder
*
SourceBuilder
429
(
430
);
434
public
:
NXString
PrinterText
435
(
436
);
440
public
:
void
SetPrinterText
441
(
442
const
NXString
& printer
443
);
447
void
SetPrinterText
448
(
449
const
char
* printer
450
);
454
public
:
bool
RasterImages
455
(
456
);
460
public
:
void
SetRasterImages
461
(
462
bool
rasterImages
463
);
467
public
:
bool
ShadedGeometry
468
(
469
);
473
public
:
void
SetShadedGeometry
474
(
475
bool
shadedGeometry
476
);
480
public
:
bool
CustomSymbolsInForeground
481
(
482
);
486
public
:
void
SetCustomSymbolsInForeground
487
(
488
bool
customSymbolsInForeground
489
);
493
public
:
NXOpen::PrintBuilder::ImageResolutionOption
ImageResolution
494
(
495
);
499
public
:
void
SetImageResolution
500
(
501
NXOpen::PrintBuilder::ImageResolutionOption
imageResolution
502
);
508
public
:
bool
PrintToFile
509
(
510
);
516
public
:
void
SetPrintToFile
517
(
518
bool
printToFile
519
);
523
public
:
NXOpen::PrintBuilder::OrientationOption
Orientation
524
(
525
);
529
public
:
void
SetOrientation
530
(
531
NXOpen::PrintBuilder::OrientationOption
orientationOption
532
);
537
public
:
NXOpen::PrintBuilder::PaperSize
Paper
538
(
539
);
544
public
:
void
SetPaper
545
(
546
NXOpen::PrintBuilder::PaperSize
paper
547
);
551
public
:
int
CustomPaper
552
(
553
);
557
public
:
void
SetCustomPaper
558
(
559
int
customPaper
560
);
561
};
562
}
563
#ifdef _MSC_VER
564
#pragma warning(pop)
565
#endif
566
#ifdef __GNUC__
567
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
568
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
569
#endif
570
#endif
571
#undef EXPORTLIBRARY