Fits the selected area in the viewing window by zooming the image in or out as needed.
Visual Basic |
---|
Public Sub DoImageZoomSelection() |
An area must be selected and contained in the SelectionRectangleX, SelectionRectangleY, SelectionRectangleHeight, and SelectionRectangleWidth properties.
Note: If no area is selected, no zoom operation occurs and an E FAIL error occurs.