Example-VB | Example-VC++ |
Returns or sets the zoom factor for an image.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Edit control
object.Zoom[=value]
Single
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 scanning to the Image Edit control, the Zoom property of the Image Scan control should be set to the same value as the Zoom property of the Image Edit control.
When the AutoRefresh property is set to True, changing the Zoom property causes the displayed image to be refreshed automatically.