Back to Devexpress

IdxRichEditCharacterStyleCollection Interface

vcl-dxrichedit-dot-nativeapi-3945e2fa.md

latest2.4 KB
Original Source

IdxRichEditCharacterStyleCollection Interface

Exposes a character style collection in a document.

Declaration

delphi
IdxRichEditCharacterStyleCollection = interface(IdxRichEditStyleCollection<IdxRichEditCharacterStyle>)

Remarks

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

Main API Members

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).

Direct IdxRichEditCharacterStyleCollection Interface Reference

The IdxRichEditDocument.CharacterStyles property references the TdxRichEditCharacterStyleCollection interface.

Inheritance

IInterface IdxReadOnlyList<T> IdxRichEditStyleCollection<T> IdxRichEditCharacterStyleCollection

See Also

IdxRichEditParagraphStyleCollection Interface

IdxRichEditParagraphStyleCollection Interface

IdxRichEditCharacterStyleCollection Members

dxRichEdit.NativeApi Unit