SetPage (class MKI_PAGEDEF) New in Version 2025.1

www.CAD6.com

C++ Syntax

bool

MKI_PAGEDEF::SetPage(

 __int32 f_nPageType,

 bool f_fLandscape );

 

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

 

Parameters

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.

 

Return Value

Returns true if successful.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH