Skip to main content

OnZoom Event

Fired when the user zooms using the mouse wheel.## Definition

OnZoom(ZoomAmt)

Parameters​

ParameterDescription
ZoomAmtThe new zoom amount

Remarks​

The OnZoom event is fired when the user zooms by holding the CTRL key and scrolling the mouse wheel. The new zoom value is provided via the ZoomAmt parameter.

Example​

Transfer Param1 to Zoom

// Synchronize with another control
Set_Property(@Window:".OLE_PICTURE2", "OLE.Zoom", Zoom)

See Also​

OnHScroll, OnVScroll