![]() |
MKI_PageSetActive (Elements) Changed in Version 2024.0 |
www.CAD6.com |
C++ Syntaxbool MKI_PageSetActive( __int32 f_nIndex, bool f_fRedraw, bool f_fResetZoom );
Activates a page or the model space in the current drawing.
Activating a page or model space may change the currently active coordinate system if the target page or model space has an explicitly assigned coordinate system (m_nPageSystem >= 0 or m_nModelSystem >= 0)!
ParametersIndex [__int32] Zero-based index of the page definition that shall be set active or -1 to activate the model space. Valid range: -1 <= Value < MKI_PAGE_MAX. Redraw New in Version 2017.0 [bool] If true, the drawing will be redrawn. ResetZoom New in Version 2024.0 [bool] If true, the view in the currently active window will be reset so that either the complete page is visible (if a page is active, see MKI_WindowSetViewPage) or all objects are visible (if model space is active, see MKI_WindowSetViewAll).
Return ValueReturns true if successful, false if not.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH