This documentation is archived and is not being maintained.

TextPointer.GetTextInRun Method

Returns text adjacent to the current TextPointer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method GetTextInRun(LogicalDirection) Returns a string containing any text adjacent to the current TextPointer in the specified logical direction.
Public method GetTextInRun(LogicalDirection, Char[], Int32, Int32) Copies the specified maximum number of characters from any adjacent text in the specified direction into a caller-supplied character array.