Sign in Join
FPDoc Onlineexperiment

TImage.Center property

Member of TImagepublishedIn unit ExtCtrls

Indicates if the image should be centered.

Declaration

pascal
property Center:;

Description

Center is a Boolean property which indicates if the image is drawn aligned to the center of the client area for the control. Center is used in the DestRect method to find the horizontal and vertical coordinates for the Picture aligned to the ClientWidth and ClientHeight for the control.

Changing the value for the property causes the PictureChanged method to be called to invalidate and repaint the image.

The default value for the property is False.

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

See also

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