SetPage (class MKI_PRINT_PDF) New in Version 2025.1

www.CAD6.com

C++ Syntax

bool

MKI_PRINT_PDF::SetPage(

 __int32 f_nPageType,

 bool f_fLandscape );

 

Sets the output page size to the given page type and to either portrait or landscape.

 

Parameters

PageType

[__int32] Standard page size to be set (see MKI_PAGETYPE_*). MKI_PAGETYPE_CUSTOM is not allowed here.

Landscape

[bool] If true, the page will be in landscape orientation. Else it will be in portrait orientation.

 

Return Value

Returns true if successful.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH