This method zooms in on the area specified by the Left, Top, Right and Bottom parameters.
Parameters
Left
The left coordinate of the zoom area
(in pixels)
Top
The top coordinate of the zoom area
(in pixels)
Right
The right coordinate of the zoom area
(in pixels)
Bottom
The bottom coordinate of the zoom
area (in pixels)
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The Zoom method zooms (in or out) on the area specified by the above four parameters so that the area fills the ImageKit Control while maintaining the height to width aspect of the specified area. After the Zoom method has executed the DrawScaleX and DrawScaleY property values are recalculated.
Note: This method is only enabled when the image is displayed at actual size.
See Also
ImageKit Members | Newtone.ImageKit.Win.ImageKit