TextSelection Class |
Namespace: Spire.Doc.Documents
The TextSelection type exposes the following members.
Name | Description | |
---|---|---|
![]() |
TextSelection(Paragraph, Int32, Int32) |
Initializes a new instance of the TextSelection class with the specified paragraph and character positions.
|
![]() |
TextSelection(Paragraph, Paragraph, Int32, Int32) |
Initializes a new instance of the
TextSelection
class.
|
Name | Description | |
---|---|---|
![]() |
Count |
Gets the count of text chunks.
|
![]() |
Item |
Gets or sets the
String
at the specified index.
|
![]() |
SelectedText |
Gets the selected text.
|
Name | Description | |
---|---|---|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
GetAsOneRange |
Gets as one range.
|
![]() |
GetAsOneRange(Boolean) |
Gets as one range.
|
![]() |
GetAsRange |
Gets as range.more than one paragraph, every paragraph to one text range.
|
![]() |
GetAsRange(Boolean) |
Returns an array of TextRange objects representing the selected text in the RichTextBox control.
If isCopyFormat is true, the format of the selected text is also copied to the clipboard.
|
![]() |
GetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetRanges |
Gets the ranges in one paragraph.
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|