ImageEn, unit imageenview |
|
TImageEnView.ZoomX
Declaration
property ZoomX: Double;
Description
ZoomX specifies the horizontal Zoom. Using this property (and/or ZoomY) you lose the image aspect ratio and some functions, which require aspect ratio, may not work properly.
Setting ZoomX and ZoomY to the same value is equivalent to setting
Zoom.
Note:
◼ZoomX 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
// Stretch image to control size without maintaining the aspect ratio
ImageEnView.GetIdealZoom( ZoomX, ZoomY );
ImageEnView.ZoomX := ZoomX;
ImageEnView.ZoomY := ZoomY;
See Also
◼Zoom◼ZoomY