TextSelection MethodsDocument Toolkit Help

The TextSelection type exposes the following members.


Public methodClone
Creates a copy of the current TextRange object.
(Inherited from TextRange.)
Public methodContains
Checks whether a position (specified by a TextPointer) is located within the current range.
(Inherited from TextRange.)
Public methodContainsPage
Checks whether specified page is located within the current range.
(Inherited from TextRange.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from TextRange.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from TextRange.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSelect(TextRange)
Updates the current selection to match the specified text range.
Public methodSelect(TextPointer, TextPointer)
Updates the current selection, taking two TextPointer positions to indicate the updated selection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnselect
Clears the selection.
See Also