Skip to main content

IdxRichEditCharacterStyleCollection Interface

Exposes the collection of character styles in a document.

Declaration

IdxRichEditCharacterStyleCollection = interface(IdxRichEditStyleCollection<IdxRichEditCharacterStyle>)

Remarks

This interface instantiates its ancestor with the IdxRichEditCharacterStyle type without introducing any new public members. The IdxRichEditCharacterStyleCollection interface provides access to members that allow you to:

  • Create a new character style (CreateNew).

  • Mark a specific character style as deleted (Delete).

  • Add a style to a document’s character style collection (Add).

  • Obtain the number of character styles in the collection (Count and GetCount).

  • Access a specific character style by its name (GetItem).

A Rich Edit component‘s Document.CharacterStyles property references the TdxRichEditCharacterStyleCollection interface.

Inheritance

See Also