FMX.MultiResBitmap.TFixedBitmapItem
Delphi
TFixedBitmapItem = class(TCustomBitmapItem)
C++
class PASCALIMPLEMENTATION TFixedBitmapItem : public TCustomBitmapItem
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.MultiresBitmap.pas FMX.MultiResBitmap.hpp |
FMX.MultiResBitmap | FMX.MultiResBitmap |
Description
TFixedBitmapItem represents a bitmap item in a TFixedMultiResBitmap multi-resolution bitmap.
TFixedBitmapItem bitmap items are elements in TFixedMultiResBitmap multi-resolution bitmaps.
TFixedBitmapItem extends the TCustomBitmapItem class providing two published properties -- Scale and Bitmap.
Use the MultiResBitmap Editor to edit TFixedMultiResBitmap multi-resolution bitmaps and to add (or delete) new bitmap items. In the MultiResBitmap Editor you can define a source file containing the image to be used in a bitmap item and you can activate the Bitmap Editor to edit the bitmap item.
The TFixedBitmapItem class implements the
GetDisplayName method. This method is used at design time to display in the Structure View names of bitmap items registered in multi-resolution bitmaps. If the Bitmap property of a bitmap item is empty, then the displayed bitmap item name is Empty
. If the Scale of the bitmap item matches to some scale of mandatory named scales registered by RegisterScaleName in the ScaleList, then GetDisplayName returns the corresponding name; usually this name is Normal
. Otherwise, GetDisplayName returns Other scale
.
See Also
- FMX.MultiResBitmap.TFixedMultiResBitmap
- FMX.MultiResBitmap.TCustomBitmapItem
- FMX.MultiResBitmap.TFixedMultiResBitmap
- FMX.MultiResBitmap.TFixedBitmapItem.Scale
- FMX.MultiResBitmap.TFixedBitmapItem.Bitmap
- FMX.MultiResBitmap.TFixedBitmapItem.GetDisplayName
- FMX.MultiResBitmap.RegisterScaleName
- FMX.MultiResBitmap.ScaleList
- Using Multi-Resolution Bitmaps