Vcl.Skia.TSkLabel.TWordsCollection.Add

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function Add: TCustomWordsItem; overload;
function Add(const ACaption: string; const AColor: TAlphaColor = DefaultColor;
const AFontSize: Single = DefaultFontSize;
const AFontWeight: TSkFontComponent.TSkFontWeight = DefaultFontWeight;
const AFontSlant: TSkFontComponent.TSkFontSlant = DefaultFontSlant): TCustomWordsItem; overload;

C++

HIDESBASE TSkLabel::TCustomWordsItem* __fastcall Add()/* overload */;
HIDESBASE TSkLabel::TCustomWordsItem* __fastcall Add(const System::UnicodeString ACaption, const System::Uitypes::TAlphaColor AColor = (System::Uitypes::TAlphaColor)(0xff000000), const float AFontSize = 1.400000E+01f, const TSkFontComponent::TSkFontWeight AFontWeight = (TSkFontComponent::TSkFontWeight)(0x4), const TSkFontComponent::TSkFontSlant AFontSlant = (TSkFontComponent::TSkFontSlant)(0x0))/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Vcl.Skia.pas
Vcl.Skia.hpp
Vcl.Skia TWordsCollection

Beschreibung

Erzeugt eine neue Instanz von TCollectionItem und fügt sie zu dem Array Items hinzu.

Vcl.Skia.TSkLabel.TWordsCollection.Add erbt von System.Classes.TCollection.Add. Der folgende Inhalt bezieht sich auf System.Classes.TCollection.Add.

Erzeugt eine neue Instanz von TCollectionItem und fügt sie zu dem Array Items hinzu.

Rufen Sie zum Erstellen eines Eintrags in der Kollektion Add auf. Der neue Eintrag wird am Ende des Arrays Items hinzugefügt.

Add gibt das neue Element der Kollektion zurück.

Siehe auch