Sign in Join
FPDoc Onlineexperiment

TCustomImage.Stretch property

Member of TCustomImagepublicIn unit ExtCtrls

Indicates if the image is resized to the client area for the control.

Declaration

pascal
property Stretch: Boolean read FStretch write SetStretch default False;

Description

Stretch is a Boolean property which indicates if the image content is resized to the client area for the control. It is used in the DestRect method (along with Proportional) to calculate the rectangle needed to render the image content.

Changing the value in Stretch causes the PictureChanged method to be called.

The default value for the property is False.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.