![]() |
MKI_WindowGetViewRect (Display) New in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_WindowGetViewRect( __int32 f_nWindowNum, MKI_RECT_REF f_rRect );
Retrieves the current view rectangle, i.e. the rectangular part of the drawing that is (at least partially) visible in the given window.
ParametersWindowNum [__int32] Zero-based index of the window whose view shall be returned. The windows are numbered in reading direction, i.e. left to right and top to bottom. Valid range: 0 <= Value < MKI_WINDOW_MAX (standard windows) or Value = MKI_WINDOW_VIEW (view window). Rect [MKI_RECT_REF] Address of a point buffer to receive the current view's surrounding rectangle in internal millimeters.
Return ValueReturns true if successful, false if not.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH