Sign in Join
FPDoc Onlineexperiment

TDBImage.Stretch property

Member of TDBImagepublishedIn unit DBCtrls

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

Declaration

pascal
property Stretch:;

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.

This description is the one of ExtCtrls.TCustomImage.Stretch.

See also

  • Proportional
  • DestRect
  • PictureChanged

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