Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SpeechDisplayAttributes (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

SpeechDisplayAttributes Enum

The SpeechDisplayAttributes enumeration lists the possible ways of displaying a word.

Used by ISpeechPhraseReplacement.DisplayAttributes and ISpeechPhraseElement.DisplayAttributes to retrieve SpeechDisplayAttributes for the recognition. This property cannot be set and it is determined by the particular engine and is specific for the language.


Enum SpeechDisplayAttributes
    SDA_No_Trailing_Space = 0
    SDA_One_Trailing_Space = 2
    SDA_Two_Trailing_Spaces = 4
    SDA_Consume_Leading_Spaces = 8
End Enum


Does not insert any trailing spaces after words.
Inserts one trailing space, used for most words.
Inserts two trailing spaces, often used after a sentence's final period.
Consume leading space, often used for periods. If this is absent, the word should have a leading space by default.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.