ZoomToSelection Method

Example-VB Example-VC++

Scales a selected portion of a displayed image so that it fits into the size of the control.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.ZoomToSelection

Arguments

None

Return Value

None

Remarks

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.