This documentation is archived and is not being maintained.

TextRun Members

Represents a sequence of characters that share a single property set.

The TextRun type exposes the following members.

Protected method TextRun Creates an instance of a TextRun object.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property CharacterBufferReference Gets a reference to the text run character buffer.
Public property Length Gets the number of characters in the text run.
Public property Properties Gets the set of text properties that are shared by every character in the text run, such as typeface or foreground brush.