[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)
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.