SpTextSelectionInformation ActiveLength Property (SAPI 5.4)

Microsoft Speech API 5.4

Object: SpTextSelectionInformation

ActiveLength Property

The ActiveLength property gets and sets the count of characters for the active range of the text selection buffer.


Set: SpTextSelectionInformation.ActiveLength = Long
Get: Long = SpTextSelectionInformation.ActiveLength


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


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