FMX.ImgList.TBitmapItem.Bitmap
Delphi
property Bitmap: TBitmapOfItem read GetBitmap write SetBitmap stored False;
C++
__property Bitmap;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.ImgList.pas FMX.ImgList.hpp |
FMX.ImgList | TBitmapItem |
Description
Indicates the actual image used with this bitmap item.
FMX.ImgList.TBitmapItem.Bitmap inherits from FMX.MultiResBitmap.TCustomBitmapItem.Bitmap. All content below this line refers to FMX.MultiResBitmap.TCustomBitmapItem.Bitmap.
Indicates the actual image used with this bitmap item.
Bitmap is nil
, when the property Dormant = True
. When you access a Bitmap, the Dormant property is set to False
, and an instance of TBitmapOfItem is created.
Avoid using the Bitmap property if your code does not really require this. Usage of Bitmap can lead to considerable increase of the used memory. Try to use properties like IsEmpty, Width, Height instead. They do not cause such considerable increasing of the memory usage.