This method zooms in on the area specified by the Left, Top, Right and Bottom parameters.
[Visual Basic]   [ Boolean = ]imagekitcontrolname.Zoom(Left As Long, Top As Long, Right As Long, Bottom As Long)
[Visual C++]     [ BOOL = ]imagekitcontrolname.Zoom(long Left, long Top, long Right, long Bottom)
[VB.NET]   [ Boolean = ]imagekitcontrolname.Zoom(Left As Integer, Top As Integer, Right As Integer, Bottom As Integer)
[C#.NET]   [ bool = ]imagekitcontrolname.Zoom(int Left, int Top, int Right, int Bottom)

Parameters

Name Explanation
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 (nonzero) if successful, otherwise returns False (0).

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 DispScaleX and DispScaleY property values are recalculated.

The ImageKit10 ActiveX is a product created by Newtone Corporation