ImageEn, unit imageenview

TImageEnView.Stretch

TImageEnView.Stretch


Declaration

procedure Stretch();


Description

Sets ZoomX and ZoomY values to stretch the image to fit within the component borders.

Note:
 Note: Stretch will only have a temporary effect if AutoShrink or AutoStretch is enabled, unless you add iedoDisableAutoFitWhenZoom to DisplayOptions
 Using this method you will lose the image aspect ratio and some functions, which require aspect ratio, may not work properly.


See Also

 Fit
 FitToWidth
 FitToHeight
 loFitToLayersWhenZooming
 FitMode