HI_MouseWheelZoom

HI_MouseWheelZoom

%HI_MouseWheelZoom function


Function

This function enables/disables to zoom an active picture by the mouse wheel. Zooming keeps the position of mouse in the picture. For this reason, in the window there can be displayed an area outside dimensions defined in the D2000 GrEditor.

Declaration

%HI_MouseWheelZoom( INT in _iStep )

Parameters

_iStep

0 - disables zoom with the mouse wheel.
>0 - size of zoom in thousandths of picture size.

Example

%HI_MouseWheelZoom(50)

Note

This function is available also in %HIX_ version.