FMX.TextLayout.TTextLayout.Attributes
Delphi
property Attributes[const Index: Integer]: TTextAttributedRange read GetAttribute;
C++
__property TTextAttributedRange* Attributes[const int Index] = {read=GetAttribute};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
property | public | FMX.TextLayout.pas FMX.TextLayout.hpp |
FMX.TextLayout | TTextLayout |
Beschreibung
Ermöglicht den Zugriff auf Textattribute.
Index
gibt die Position in der Attributliste an.
Attributes ermittelt das TTextAttributedRange-Objekt an der in Index
angegebenen Position in der Textattributliste des aktuellen TTextLayout-Objekts.
Mit der Methode AddAttribute werden der Liste neue Attribute hinzugefügt. Mit der Methode DeleteAttribute oder DeleteAttributeRange werden die Attribute gelöscht. Mit der Methode ClearAttributes wird die Attributliste geleert.
Mit Attributes erhalten Sie Zugriff auf Schriftarten, Farben oder Bereiche, die im aktuellen TTextLayout-Objekt verwendet werden sollen.
Siehe auch
- FMX.TextLayout.TTextLayout.AttributesCount
- FMX.TextLayout.TTextAttributedRange
- FMX.TextLayout.TTextRange
- FMX.TextLayout.TTextAttribute
- FMX.TextLayout.TTextLayout.AddAttribute
- FMX.TextLayout.TTextLayout.ClearAttributes
- FMX.TextLayout.TTextLayout.DeleteAttribute
- FMX.TextLayout.TTextLayout.DeleteAttributeRange
- FMX.TextLayout.TTextLayout
- System.UITypes.TAlphaColor
- FMX.TextLayout.TTextAttribute.Font