TCustomImage.Picture property
Contains the image displayed in the control.
Declaration
property Picture: TPicture read FPicture write SetPicture;Description
Picture is a
TPicture property which contains the
dimensions, format, and data for the image displayed in the control.
Resources are allocated for Picture in the constructor; this includes use of
the
PictureChanged method as the
OnChange event
handler for the property.
Picture is used when the control needs to access its canvas for
drawing operations. Drawing operations use the bitmap for the Picture when
possible instead of the canvas for the form. It is also examined/updated when
PictureChanged is called after values for properties like
Proportional,
Stretch,
Centered,
Transparent. and
AntialiasingMode are changed.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
