Back to Devexpress

CharacterStyleCollection Methods

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterstylecollection-dot-underscore-methods.md

latest2.1 KB
Original Source

CharacterStyleCollection Methods

Represents a collection of character styles.

NameDescription
Add(CharacterStyle)Add a style to the collection of styles in the current document.
CopyTo(Array, Int32)Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
CreateNew()Creates a new character style.
Delete(CharacterStyle)Marks the specified style as deleted, so it can no longer be applied.
GetEnumerator()Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Restore(CharacterStyle)Restores the character style marked as deleted.

See Also

CharacterStyleCollection Interface

CharacterStyleCollection Members

DevExpress.XtraRichEdit.API.Native Namespace