MKI_PRINT_PDF (Basic Classes) Changed in Version 2025.0

www.CAD6.com

C++ Syntax

class MKI_PRINT_PDF

{

  public:

 

  MKI_VECTOR m_cPageSize;

  __int32 m_nPageType,

          m_nPageOrient,

          m_nPageDisplay,

          m_nOutputType,

          m_nOutputFlag,

          m_nOutputMode3D,

          m_nExportMode3D,

          m_nBitmapType,

          m_nGamma,

          m_nUnused;

  MKI_FILENAMEW m_szProfileNameX4;

 

  void

  Init( void );

};

 

This structure contains PDF export settings.

 

Element Description

PageSize

[MKI_VECTOR] These values state the page's horizontal and vertical size in [mm]. They must be valid even if PageType states an explicit page format. The valid range is 10.0 to 25000.0 inclusive.

PageType

[__int32] This value determines the page's size (see MKI_PAGETYPE_*).

PageOrient

[__int32] This value determines whether the page shall have landscape or portrait orientation (see MKI_PAGEORIENT_*).

OutputType

[__int32] Determines which type of PDF file to export (see MKI_PRINTPDF_TYPE_*).

OutputFlag

[__int32] Determines specific PDF export options (see MKI_PRINTPDF_FLAG_*).

OutputMode3D New in Version 2013.0

[__int32] Determines which type of PDF file to export (see MKI_PRINTPDF_3D_*).

ExportMode3D New in Version 2013.0

[__int32] Export options for the U3D export filter located in the 3D plug-in (see MKI_PRINTPDF_U3D_*).

BitmapType New in Version 2013.2

[__int32] Identifier of the file type the bitmap shall be written to (see MKI_BITMAPMODE_*). Only PNG (lossless compression with alpha channel) and JPEG (different lossy compression levels without alpha channel) are supported. If the original bitmap has an alpha channel, the bitmap will always be exported as PNG regardless of this setting.

Gamma New in Version 2022.1

[__int32] Gamma index for output color processing. Resulting gamma value is 10^(Gamma/100). Allowed values are -100 to 100 (resulting in gamma values of 0.1 to 10.0).

Unused New in Version 2022.1

[__int32] Currently unused, reserved for later use.

ProfileNameX4 Renamed in Version 2022.1

[MKI_FILENAMEW] Color profile file name for PDF/X-4 export.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH