SpTextSelectionInformation Interface (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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:


PropertiesDescription
ActiveLength PropertyGets and sets the count of characters for the active range of the text selection buffer.
ActiveOffset PropertyGets and sets the offset of the active text selection buffer from the beginning of the word sequence data buffer.
SelectionLength PropertyGets and sets the count of characters in the selected text within the word sequence data buffer.
SelectionOffset PropertyGets and sets the offset of the selected text within the word sequence buffer.
Show: