MKI_WindowSetViewArea (Display) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

MKI_WindowSetViewArea(

 __int32 f_nWindowNum,

 MKI_CONST_POINT_REF f_rPoint1,

 MKI_CONST_POINT_REF f_rPoint2,

 bool f_fRedraw );

 

Alters the view in the given window so that the rectangular region defined by the two corner-points will be visible.

 

Parameters

WindowNum

[__int32] Zero-based index of the window whose view shall be altered. 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).

Point1

Point2

[MKI_CONST_POINT_REF] Corner-points of a rectangular region of the drawing that shall be completely visible. The coordinates are in internal mm relative to the page's center.

Redraw New in Version 2016.0

[bool] If true, the window will immediately be redrawn. Otherwise, only the view settings will be changed without redrawing.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH