Share via


SpTextSelectionInformation SelectionOffset Property (SAPI 5.3)

Microsoft Speech API 5.3

Object: SpTextSelectionInformation

SelectionOffset Property

The SelectionOffset property gets and sets the offset of the selected text within the word sequence buffer.

Syntax

Set: SpTextSelectionInformation.SelectionOffset = Long
Get: Long = SpTextSelectionInformation.SelectionOffset

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 SelectionOffset property, see the ISpeechRecoGrammar.SetWordSequenceData section.