|Top Previous Next|
There are three groups of rvs*** constants:
▪indices in the collection of text styles (RVStyle.TextStyles) corresponding to the initial entries;
Identifiers of Item Types
All these constants are negative so you can distinguish them from indices in the collection of text styles.
See also: TRichView item types.
Indexes in The Collection of Text Styles
The second group of constants is almost obsolete, because the status of these text styles is changed from "standard" (in older versions) to "initial". You can completely customize collections of text styles by removing initial items and adding new items.
All these constants are defined in RVStyle unit.
It's still highly recommended to use the 0-th style as the default (normal) text. For example, this style is used as a default style in exported HTML files.
There is a special constant rvsDefStyle.
This constant can be used as a StyleNo parameter for methods that add text in TRichView.
When this value is specified instead of the index in the collection of text styles, the paragraph's default text style will be used.
TRichView © trichview.com