SpTextSelectionInformation
The SpTextSelectionInformation automation object provides access to the text selection information pertaining to a word sequence buffer.
For an example of the use of the SpTextSelectionInformation object, see the SetWordSequenceData section of the ISpeechRecoGrammar interface.
Automation Interface Elements
The SpTextSelectionInformation automation object has the following elements:
Properties | Description |
---|---|
ActiveLength Property | Gets and sets the count of characters for the active range of the text selection buffer. |
ActiveOffset Property | Gets and sets the offset of the active text selection buffer from the beginning of the word sequence data buffer. |
SelectionLength Property | Gets and sets the count of characters in the selected text within the word sequence data buffer. |
SelectionOffset Property | Gets and sets the offset of the selected text within the word sequence buffer. |