This method zooms in on the area specified by the Left, Top, Right and Bottom parameters.

[C++Builder]   [ bool = ]imagekitcontrolname->Zoom(int ALeft, int ATop, int ARight, int ABottom)
[Delphi]   [ Boolean = ]imagekitcontrolname.Zoom(ALeft, ATop, ARight, ABottom: Integer)

Parameters

Name Explanation
Left The left coordinate of the zoom area (in pixels)
ATop The top coordinate of the zoom area (in pixels)
ARight The right coordinate of the zoom area (in pixels)
ABottom The bottom coordinate of the zoom area (in pixels)

Return Value

Returns True if successful, otherwise returns False.

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 VCL is a product created by Newtone Corporation