NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
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
31namespace NXOpen
32{
33 class PrintBuilder;
34 class Builder;
36 class _PrintBuilderBuilder;
37 class PrintBuilderImpl;
84 class NXOPENCPPEXPORT PrintBuilder : public NXOpen::Builder
85 {
93
101
107
108public: enum PaperSize
109 {
225 };
226 private: PrintBuilderImpl * m_printbuilder_impl;
227 private: friend class _PrintBuilderBuilder;
228 protected: PrintBuilder();
229public: ~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 );
292 (
293 double width1ScaleFactor
294 );
298 public: double Width2ScaleFactor
299 (
300 );
305 (
306 double width2ScaleFactor
307 );
311 public: double Width3ScaleFactor
312 (
313 );
318 (
319 double width3ScaleFactor
320 );
324 public: double Width4ScaleFactor
325 (
326 );
331 (
332 double width4ScaleFactor
333 );
337 public: double Width5ScaleFactor
338 (
339 );
344 (
345 double width5ScaleFactor
346 );
350 public: double Width6ScaleFactor
351 (
352 );
357 (
358 double width6ScaleFactor
359 );
363 public: double Width7ScaleFactor
364 (
365 );
370 (
371 double width7ScaleFactor
372 );
376 public: double Width8ScaleFactor
377 (
378 );
383 (
384 double width8ScaleFactor
385 );
389 public: double Width9ScaleFactor
390 (
391 );
396 (
397 double width9ScaleFactor
398 );
403 (
404 );
408 public: void SetOutput
409 (
411 );
415 public: bool WhiteBackground
416 (
417 );
422 (
423 bool whiteBackground
424 );
429 (
430 );
435 (
436 );
440 public: void SetPrinterText
441 (
442 const NXString & printer
443 );
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 );
481 (
482 );
487 (
488 bool customSymbolsInForeground
489 );
494 (
495 );
500 (
502 );
508 public: bool PrintToFile
509 (
510 );
516 public: void SetPrintToFile
517 (
518 bool printToFile
519 );
524 (
525 );
529 public: void SetOrientation
530 (
532 );
538 (
539 );
544 public: void SetPaper
545 (
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