Example-VB | Example-VC++ |
Scales a selected portion of a displayed image so that it fits into the size of the control.
Ö | 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.ZoomToSelection
None
None
A selection rectangle must be drawn on the image prior to calling the ZoomToSelection method.
The ZoomToSelection method updates the Zoom property with the zoom factor used.