FMX.ImgList.TCustomImageList.AddOrSet

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function AddOrSet(const SourceName: string; const Scales: array of Single;
const FileNames: array of string; const TransparentColor: TColor = TColors.SysNone; const Width: Integer = 0;
const Height: Integer = 0): TImageIndex;

C++

System::Uitypes::TImageIndex __fastcall AddOrSet(const System::UnicodeString SourceName, const float *Scales, const System::NativeInt Scales_High, const System::UnicodeString *FileNames, const System::NativeInt FileNames_High, const System::Uitypes::TColor TransparentColor = (System::Uitypes::TColor)(0x1fffffff), const int Width = 0x0, const int Height = 0x0);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList TCustomImageList


Beschreibung

Fügt der Sammlung Source mehrere Dateien hinzu oder ersetzt sie und fügt das Element der Sammlung Destination hinzu, falls es nicht vorhanden ist.

Hinweis: Gibt die Anzahl der neuen Elemente von Destination oder -1 zurück, wenn es bereits vorhanden ist.

Siehe auch

FMX.ImgList.TCustomImageList.Source

FMX.ImgList.TCustomImageList.Destination

FMX.ImgList.TSourceCollection.AddOrSet