FMX.TextLayout.TTextLayout.DeleteAttributeRange

From RAD Studio API Documentation
Jump to: navigation, search

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