ISpeechRecoGrammar SetTextSelection Method (SAPI 5.3)
The SetTextSelection method sets the range of text selection information in a WordSequenceData buffer.
The SetWordSequenceData method sends application-specific data to the speech recognition (SR) engine for recognition. The SetTextSelection method describes the part of that text which has been selected by the user with a mouse or keyboard.
ISpeechRecoGrammar.SetTextSelection( Info As SpTextSelectionInformation )
- An SpTextSelectionInformation object which specifies the text selection range.
For an example of the use of the SetTextSelection method, see the SetWordSequenceData section.