TextSelection module
- class TextSelection.TextSelection
Bases:
SpireObjectRepresents a text selection.
- property Count: int
Gets the number of text items in the selection.
- GetAsOneRange
Gets the selection as a single text range.
- GetEnumerator() IEnumerator
Gets an enumerator for the text selection.
- property SelectedText: str
Gets the selected text.
- get_Item(index: int) str
Gets the text at the specified index.
- set_Item(index: int, value: str)
Sets the text at the specified index.