FMX.MultiResBitmap.TFixedBitmapItem.GetDisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDisplayName: string; override;

C++

virtual System::UnicodeString __fastcall GetDisplayName();

Properties

Type Visibility Source Unit Parent
function protected
FMX.MultiresBitmap.pas
FMX.MultiResBitmap.hpp
FMX.MultiResBitmap TFixedBitmapItem

Description

Returns the name of the bitmap item as it is registered in the ScaleList of mandatory named scales.

GetDisplayName returns the following Names:

  • If the Bitmap of the current bitmap item is empty, the returned Name is Empty.
  • GetDisplayName checks whether the ScaleList of mandatory named scales, registered by calls to RegisterScaleName, contains the named scale with the Scale of the current bitmap item. Then GetDisplayName returns the corresponding Name registered in this list of mandatory named scales. Usually this name is Normal.
  • Otherwise, GetDisplayName returns Other scale.

The returned Name is used in the Structure View to display names of bitmap items.

See Also