FMX.MultiResBitmap.TFixedBitmapItem.Bitmap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Bitmap;

C++

__property Bitmap;

Properties

Type Visibility Source Unit Parent
property published
FMX.MultiresBitmap.pas
FMX.MultiResBitmap.hpp
FMX.MultiResBitmap TFixedBitmapItem

Description

Indicates the actual image used with this bitmap item.

FMX.MultiResBitmap.TFixedBitmapItem.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.

See Also