rvico TRichView Reference | Item Types | Label

TRVLabelItemInfo.TextStyleNo

Top  Previous  Next

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.

Unicode property of text style is ignored.

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:

Text.


TRichView © trichview.com