ImageEn, unit imageenview

TImageEnView.FitToWidth

TImageEnView.FitToWidth


Declaration

procedure FitToWidth();


Description

Adjust the image display size (Zoom) so that it fits within the width of the control window.

Note: FitToWidth will only have a temporary effect if AutoShrink or AutoStretch is enabled, unless you add iedoDisableAutoFitWhenZoom to DisplayOptions


See Also

 Fit
 FitToHeight
 loFitToLayersWhenZooming
 Stretch
 FitMode