Zoom Property

Returns or sets the zoom factor for an image.

Applies To

Image Edit control

Syntax

object.Zoom[=value]

Data Type

Single

Remarks

The Zoom value is expressed as a percentage. The valid range is from 2 to 6500 percent; the default value is 100 percent.

When invoked, the FitTo and ZoomToSelection methods update the value of the Zoom property.

A Zoom value can be specified before or after an image is displayed. If the image currently specified in the Image property is being displayed when the Zoom value is changed, the displayed image may change visually.

When the AutoRefresh property is set to True, changing the Zoom property causes the displayed image to be refreshed automatically.

See Also

AutoRefresh property

Display topics in Imaging Concepts

FitTo method

Image property

ZoomToSelection method