vcl-dxrichedit-dot-nativeapi-3945e2fa.md
Exposes a character style collection in a document.
IdxRichEditCharacterStyleCollection = interface(IdxRichEditStyleCollection<IdxRichEditCharacterStyle>)
This interface instantiates its ancestor with the IdxRichEditCharacterStyle type. The IdxRichEditCharacterStyleCollection interface provides access to members that allow you to:
The list below outlines key members of the IdxRichEditCharacterStyleCollection interface. These members allow you to manage character styles in a document.
AddAdds a specified character style to the collection.Count | GetCountReturn the number of styles in the collection.CreateNewCreates a new character style and adds it to the collection.DeleteDeletes an individual character style.GetItemProvides access to individual character styles (by names).
The IdxRichEditDocument.CharacterStyles property references the TdxRichEditCharacterStyleCollection interface.
IInterface IdxReadOnlyList<T> IdxRichEditStyleCollection<T> IdxRichEditCharacterStyleCollection
See Also
IdxRichEditParagraphStyleCollection Interface
IdxRichEditParagraphStyleCollection Interface