rvico TRichView Reference | TRichView

TCustomRichView.DeleteMarkedStyles

Top  Previous  Next

Deletes unused 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. Used styles are marked with MarkStylesInUse method, 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, use DeleteUnusedStyles instead.

See also methods:

MarkStylesInUse;

DeleteUnusedStyles.


TRichView © trichview.com