rvico TRichView Reference | TRVStyle | TRVStyleTemplateCollection

TRVStyleTemplateCollection

Properties   Methods

Top  Previous  Next

Collection of "real" styles of text and paragraphs. Class of TRVStyle.StyleTemplates property.

Unit RVStyle.

Syntax

TRVStyleTemplateCollection = class(TCollection)

(introduced in version 14)

Hierarchy

TObject

TPersistent

TCollection

Main Properties

Items – array of TRVStyleTemplate.

DefStyleName – a format string used to generate names of new items.

Main Methods

AssignStyleTemplates assigns another collection to this collection;

FindById, FindItemById search for items by their identifiers;

FindByName, FindItemByName search for items by their names;

LoadFromRVST, SaveToRVST save and load the collection to a file;

ResetNameCounter resets a counter used to generate names for new items.

See also

Styles and style templates.


TRichView © trichview.com