MKI_WindowGetViewZoom (Display) New in Version 2024.0

www.CAD6.com

C++ Syntax

bool

MKI_WindowGetViewZoom(

 __int32 f_nWindowNum,

 MKI_ZOOMDEF f_rZoom );

 

Retrieves the current view scale of the drawing that is visible in the given window, i.e. the zoom factor and the view's center-point.

 

Parameters

WindowNum

[__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).

Zoom

[MKI_ZOOMDEF_REF] Address of a buffer to receive the view display data.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH