rvico TRichView Reference | TRVStyle

TRVStyle.TextStyles

Top  Previous  Next

This is one of key properties of TRVStyle: a collection of text attributes (styles).

property TextStyles : TFontInfos;

Text styles define fonts and other text attributes in documents.

The first text style in the collection (TextStyles[0]) has some additional meaning:

breaks with color = clNone (default value) have the color of this style;

Charset of this style is used for saving language information in HTML files (D3+);

in some cases this style is used as default, so it's recommended to use it as a style of normal text; please do not set rvprDoNotAutoSwitch in Protection for this style;

this style can be hypertext, but it is not recommended.

See also properties:

ParaStyles;

ListStyles.

See also types:

TFontInfos (collection of text styles);

TFontInfo (item in collection of text styles).


TRichView © trichview.com