Scales a selected portion of a displayed image so that it fits into the size of the control.
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.
Display method
Display topics in Imaging Concepts
DrawSelectionRect method
FitTo method
SelectionRectDrawn event
Zoom property