TCustomBitmap.Monochrome property
Declaration
property Monochrome: Boolean read GetMonochrome write SetMonochrome;Description
Monochrome is a
Boolean property which indicates
whether the raw image data is represented using pixels of a single color.
The property value is True when the descriptor for the shared raw
image data has a color depth of 1. The PixelFormat property
will also contain the value pf1bit.
Setting a new value in Monochrome causes the value in PixelFormat to be
changed. When set to True, PixelFormat is set to pf1bit.
When set to False, the value pfDevice is assigned to the
PixelFormat property.
Changing the value in Monochrome (and PixelFormat) causes the image data to be discarded, and the Handle for the internal shared image is freed.
No actions are performed when Monochrome is set to the existing value for the property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
