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

Example

ImageEnView1.FitToWidth();

See Also

◼Fit
◼FitToHeight
◼loFitToLayersWhenZooming
◼Stretch
◼FitMode