Characters Characters Characters Interface


A collection of characters in a selection, range, or document.

public interface class Characters : System::Collections::IEnumerable
public interface Characters : System.Collections.IEnumerable
Public Interface Characters
Implements IEnumerable


There is no Character object; instead, each item in the Characters collection is a Range object that represents one character.

Use the Characters property to return the Characters collection.

Use Characters(index), where index is the index number, to return a Range object that represents one character. The index number represents the position of a character in the Characters collection.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.

An Add method isn't available for the Characters collection. Instead, use the InsertAfter(String) or InsertBefore(String) method to add characters to a Range object.


Application Application Application

Gets a Application object that represents the creator of the specified object.

Count Count Count

Gets the number of items in the specified collection.

Creator Creator Creator

Gets a value that indicates the application in which the specified object was created.

First First First

Gets a Range object that represents the first character in a document.

Item[Int32] Item[Int32] Item[Int32]

Gets an individual object in a collection.

Last Last Last

Gets a Range object that represents the last character, word, or sentence in a document.

Parent Parent Parent

Gets an object that represents the parent object of the specified object.


GetEnumerator() GetEnumerator() GetEnumerator()

Applies to