<< Click to display table of contents >>


Defines text attributes.

property TextStyleNo: Integer;

This is the index in the TextStyles collection of the TRVStyle component linked to the TCustomRichView component containing this item.

If this item is inserted in editor, value of this property may be changed when ApplyTextStyle or ApplyStyleConversion method is called. You can prevent this by assigning True to ProtectTextStyleNo property.

If style templates are used, the component may automatically change value of this property to provide a consistency of text and paragraph style templates (even if ProtectTextStyleNo=True).

See also properties: