The zoom level of the picture.

Usage

Set_Property(OLECtrlEntID, "OLE.Zoom", Value)

Values

Value can be any positive or negative real 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).

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

  • No labels