SpTextSelectionInformation SelectionLength Property

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Object: SpTextSelectionInformation

SelectionLength Property


The SelectionLength property gets and sets the count of characters in the selected text within the word sequence data buffer.

Syntax

Set: SpTextSelectionInformation.SelectionLength = Long
Get: Long = SpTextSelectionInformation.SelectionLength

Parts

SpTextSelectionInformation
The owning object.
Long
Set: A Long variable that sets the property.
Get: A Long variable that gets the property.

Example

For an example of the use of the SelectionLength property, see the ISpeechRecoGrammar.SetWordSequenceData section.