FMX.TextLayout.TTextLayout.DeleteAttributeRange
Delphi
procedure DeleteAttributeRange(const AFromIndex, AToIndex: Integer);
C++
void __fastcall DeleteAttributeRange(const int AFromIndex, const int AToIndex);
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
procedure function |
public | FMX.TextLayout.pas FMX.TextLayout.hpp |
FMX.TextLayout | TTextLayout |
Beschreibung
Entfernt einen Bereich von Textattributen aus der Attributes-Liste.
AFromIndex gibt den Startindex des Bereichs an.
AToIndex gibt den Endeindex des Bereichs an.
DeleteAttributeRange entfernt alle Textattribute aus der Attributes-Liste, deren Indizes den Parametern AFromIndex und AToIndex entsprechen oder dazwischen liegen.
Mit der Methode AddAttribute werden der Liste neue Attribute hinzugefügt. Mit der Methode DeleteAttribute wird ein Attribut entfernt.
Siehe auch
- FMX.TextLayout.TTextLayout.Attributes
- 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
- System.UITypes.TAlphaColor
- FMX.TextLayout.TTextAttribute.Font