SpTextSelectionInformation ActiveOffset Property (SAPI 5.4)

Microsoft Speech API 5.4

Object: SpTextSelectionInformation

ActiveOffset Property

The ActiveOffset property gets and sets the offset of the active text selection buffer from the beginning of the WordSequenceData buffer.

Syntax

Set: SpTextSelectionInformation.ActiveOffset = Long
Get: Long = SpTextSelectionInformation.ActiveOffset

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