Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.
© 2015 Microsoft