InitDirectPDF (class MKI_PRINT_DATA) New in Version 2025.1

www.CAD6.com

C++ Syntax

void

MKI_PRINT_DATA::InitDirectPDF(

 const LPCWSTR f_pszFileName,

 __int32 f_nPageType,

 bool f_fLandscape );

 

Initializes the structure with default values for DirectPDF export.

 

Parameters

f_pszFileName

[const LPCWSTR] Filename to write the PDF file to.

f_nPageType

[__int32] Standard page size to be set (see MKI_PAGETYPE_*). Use MKI_PAGETYPE_CUSTOM to switch to the default page size based on the current default measuring type. This is either a DIN A3 landscape page or a 11×17 inch landscape page.

f_fLandscape

[bool] If true, the page will be in landscape orientation. If false, it will be in portrait orientation. Unused if f_nPageType is MKI_PAGETYPE_CUSTOM.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH