Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISpeechRecoGrammar SetTextSelection Method (SAPI 5.3)

Speech API 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.

     Info As SpTextSelectionInformation


An SpTextSelectionInformation object which specifies the text selection range.

Return Value



For an example of the use of the SetTextSelection method, see the SetWordSequenceData section.

© 2015 Microsoft