TextPointer Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

NameDescription
System_CAPS_pubmethodCompareTo(TextPointer)

Performs an ordinal comparison between the positions specified by the current TextPointer and a second specified TextPointer.

System_CAPS_pubmethodDeleteTextInRun(Int32)

Deletes the specified number of characters from the position indicated by the current TextPointer.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAdjacentElement(LogicalDirection)

Returns the element, if any, that borders the current TextPointer in the specified logical direction.

System_CAPS_pubmethodGetCharacterRect(LogicalDirection)

Returns a bounding box (Rect) for content that borders the current TextPointer in the specified logical direction.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetInsertionPosition(LogicalDirection)

Returns a TextPointer to the closest insertion position in the specified logical direction.

System_CAPS_pubmethodGetLineStartPosition(Int32)

Returns a TextPointer to the beginning of a line that is specified relative to the current TextPointer.

System_CAPS_pubmethodGetLineStartPosition(Int32, Int32)

Returns a TextPointer to the beginning of a line that is specified relative to the current TextPointer, and reports how many lines were skipped.

System_CAPS_pubmethodGetNextContextPosition(LogicalDirection)

Returns a pointer to the next symbol in the specified logical direction.

System_CAPS_pubmethodGetNextInsertionPosition(LogicalDirection)

Returns a TextPointer to the next insertion position in the specified logical direction.

System_CAPS_pubmethodGetOffsetToPosition(TextPointer)

Returns the count of symbols between the current TextPointer and a second specified TextPointer.

System_CAPS_pubmethodGetPointerContext(LogicalDirection)

Returns a category indicator for the content adjacent to the current TextPointer in the specified logical direction.

System_CAPS_pubmethodGetPositionAtOffset(Int32)

Returns a TextPointer to the position indicated by the specified offset, in symbols, from the beginning of the current TextPointer.

System_CAPS_pubmethodGetPositionAtOffset(Int32, LogicalDirection)

Returns a TextPointer to the position indicated by the specified offset, in symbols, from the beginning of the current TextPointer and in the specified direction.

System_CAPS_pubmethodGetTextInRun(LogicalDirection)

Returns a string containing any text adjacent to the current TextPointer in the specified logical direction.

System_CAPS_pubmethodGetTextInRun(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.

System_CAPS_pubmethodGetTextRunLength(LogicalDirection)

Returns the number of Unicode characters between the current TextPointer and the next non-text symbol, in the specified logical direction.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInsertLineBreak()

Inserts a line break at the current position.

System_CAPS_pubmethodInsertParagraphBreak()

Inserts a paragraph break at the current position.

System_CAPS_pubmethodInsertTextInRun(String)

Inserts the specified text into the text Run at the current position.

System_CAPS_pubmethodIsInSameDocument(TextPointer)

Indicates whether the specified position is in the same text container as the current position.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.(Overrides Object.ToString().)

Return to top
Show: