FMX.TextLayout.TTextLayout.DeleteAttributeRange
Delphi
procedure DeleteAttributeRange(const AFromIndex, AToIndex: Integer);
C++
void __fastcall DeleteAttributeRange(const int AFromIndex, const int AToIndex);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.TextLayout.pas FMX.TextLayout.hpp |
FMX.TextLayout | TTextLayout |
Description
Deletes a range of text attributes from Attributes list.
AFromIndex
specifies the start index of the range.
AToIndex
specifies the end index of the range.
DeleteAttributeRange deletes all text attributes with indexes equal or between AFromIndex
and AToIndex
from the Attributes list.
To add new attributes to the list, use AddAttribute method. To delete one attribute, use the DeleteAttribute method.
See Also
- 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