ImageEn, unit imageenview

TImageEnView.ZoomAt

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