| ImageEn, unit imageenview |
|
TImageEnView.ZoomAt
Declaration
procedure ZoomAt(x, y: Integer; ZoomVal: Double; Center: Boolean = True);
Description
Zooms by the percentage specified by ZoomVal.
If the optional
Center parameter if False, the zooming center is
x, y (in client coordinates), otherwise (the default) it is the center of image.
Note:
◼ZoomAt will only have a temporary effect if
AutoShrink or
AutoStretch is enabled, unless you add
iedoDisableAutoFitWhenZoom to
DisplayOptions
◼Use
ZoomFilter to improve the quality when zooming
Example
// Zoom to 50% at 100,120
ImageEnView1.ZoomAt( 100, 120, 50 );
See Also
◼AutoShrink
◼AutoStretch
◼DisplayOptions
◼ZoomFilter