FMX.MultiResBitmap.TFixedMultiResBitmap.Add

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function Add: TFixedBitmapItem;

C++

HIDESBASE TFixedBitmapItem* __fastcall Add();

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
FMX.MultiresBitmap.pas
FMX.MultiResBitmap.hpp
FMX.MultiResBitmap TFixedMultiResBitmap

Beschreibung

Erstellt ein neues TCustomBitmapItem-Bitmap-Element und fügt es dem Items-Array hinzu.

FMX.MultiResBitmap.TFixedMultiResBitmap.Add erbt von FMX.MultiResBitmap.TCustomMultiResBitmap.Add. Der folgende Inhalt bezieht sich auf FMX.MultiResBitmap.TCustomMultiResBitmap.Add.

Erstellt ein neues TCustomBitmapItem-Bitmap-Element und fügt es dem Items-Array hinzu.

Add erstellt ein neues TCustomBitmapItem-Bitmap-Element in dem aktuellen Bitmap mit Mehrfachauflösung. Die Skalierung (Scale) des erstellten Bitmap-Elements erhält den ersten Integerwert, der von Bitmap-Elementen in dem aktuellen Bitmap mit Mehrfachauflösung nicht verwendet wird. Das erstellte Bitmap-Element wird zu dem Items-Array hinzugefügt.

Add gibt das erstellte Bitmap-Element zurück.

Die Methode Add in der untergeordneten Klasse TFixedMultiResBitmap stellt sicher, dass das hinzugefügte Bitmap-Element den Typ TFixedBitmapItem hat.

Siehe auch