IdxRichEditStyleCollection<T> Interface
An interface providing the basic functionality used by all document style collections.
Declaration
IdxRichEditStyleCollection<T: IInterface> = interface(IdxReadOnlyList<T>)
Remarks
This generic interface extends its ancestor with members that allow you to:
Create a new document style (CreateNew).
Mark a specific document style as deleted (Delete).
Add a style to a style collection of the current document (Add).
Obtain the number of document styles in a collection (Count and GetCount);
Access a specific document style by its name (GetItem).
The IdxRichEditStyleCollection generic interface instantiated with different types (IdxRichEditCharacterStyle, IdxRichEditParagraphStyle, and IdxRichEditTableStyle), is the direct ancestor of the IdxRichEditCharacterStyleCollection, IdxRichEditParagraphStyleCollection, and IdxRichEditTableStyleCollection interfaces that allow you to work with all types of styles in a document.