Sign in Join
FPDoc Onlineexperiment

TImage.Proportional property

Member of TImagepublishedIn unit ExtCtrls

True if image is proportional.

Declaration

pascal
property Proportional:;

Description

Proportional is a Boolean property which indicates if the proportions (the ratio of width to height) for an image are maintained when it is resized. When set to True, a change to the image size maintains the ratio of width to height for the original image. Proportional is used (along with Stretch) in the DestRect method to determine the rectangle needed to render the image in the control.

Changing the value for the property causes the PictureChanged method to be called.

The default value for the property is False.

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

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