Skip to main content

Zoom Property

The zoom level of the picture.

Definition​

Property "OLE.Zoom" as Number

Default: 1.0

Remarks​

The Zoom property establishes the current image scale. A value of 1.0 scales the image at it's normal size. Increasing the value will make the image larger (zoom in). Decreasing the value will make it smaller (zoom out).

important

The Zoom property only works so long as the Layout property is set to "Pan".

Example​

// Double the image size
Set_Property(@Window:".OLE_PICTURE", "OLE.Zoom", "2.0")

// Zoom out
Set_Property(@Window:".OLE_PICTURE", "OLE.Zoom", "0.5")

See Also​

Layout