TCustomRVInfo.StyleName

<< Click to display table of contents >>

TCustomRVInfo.StyleName

Name of this style.

property StyleName: TRVUnicodeString;

(changed in version 18)

This name is used:

when displaying a design-time editor for collections of styles;

when assigning text styles to TStrings.

when saving RTF without using StyleTemplates and with rvrtfSaveStyleSheet option;

This property is ignored when comparing and searching styles (see also RichViewCompareStyleNames typed constant).

Names of styles do not need to be unique in the collection (unless you save RVF with rvfoUseStyleNames option).

This property makes sense if you use a predefined set of styles. If you add styles dynamically, you can ignore this property.