ISpeechRecoGrammar SetTextSelection Method (SAPI 5.3)
Microsoft Speech API 5.3
Interface: ISpeechRecoGrammar
SetTextSelection Method
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)
Parameters
- Info
An SpTextSelectionInformation object which specifies the text selection range.
Return Value
None.
Example
For an example of the use of the SetTextSelection method, see the SetWordSequenceData section.