IDLgrWindow::SetCurrentZoom
The IDLgrWindow::SetCurrentZoom procedure method does the following:
- Sets the CURRENT_ZOOM property.
- Sets the ZOOM_NSTEP property to the closest integer multiple of ZOOM_BASE that results in the specified zoom factor.
Note: This method does not change the window contents automatically. The application is responsible for updating the window content based on the new zoom value.
Syntax
Obj-> [IDLgrWindow::]SetCurrentZoom, ZoomFactor [, /RESET]
Arguments
ZoomFactor
A positive floating point value indicating the zoom factor to be applied to the window. Values less than 1.0 zoom out; values greater than 1.0 zoom in on the contents of the window.
Keywords
RESET
Set this keyword to indicate that the zoom factor should be reset to 1.0. If this keyword is present, the ZoomFactor argument is ignored.
Version History
6.1 |
Introduced |