TCustomRichView.MarkStylesInUse

<< Click to display table of contents >>

TCustomRichView.MarkStylesInUse

Stores lists of used text, paragraph and list styles.

procedure MarkStylesInUse(Data: TRVDeleteUnusedStylesData);

(introduced in version 10)

This method is useful if collections of text, paragraph and list styles are not saved in RVF documents (but stored in file or in the Registry). In this case, several documents share the same collections of styles. See TRVDeleteUnusedStylesData for the examples.

Usually it's much more simple (and recommended) to use one RVStyle per one RichView and store collections of styles inside RVF documents. In this case, you can use DeleteUnusedStyles instead.

See also methods:

DeleteMarkedStyles;

DeleteUnusedStyles.