The enumeration SpeakFlags is used to control the behavior of the Speak engine Speak(String, SpeakFlags). Speaker..::.Speak(String, SpeakFlags)Speaker..::.SpeakFile(String, SpeakFlags)

Namespace:  SGP.Speech
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[FlagsAttribute]
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public enum SpeakFlags

Members

Member nameDescription
Default
Specifies that the default behavior should be used. The default behavior is to speak the given text string synchronously, to not purge pending speak requests, to parse the text as XML only if the first character is a left-angle-bracket (<), to not persist global XML state changes across speak calls, and to not expand punctuation characters into words. To override this default behavior, use the other flag values given below.
Async
Specifies that the Speak call should be asynchronous - that is, it will return immediately after the speak request is queued.
Purge
Purges all pending speak requests prior to this speak call.
IsFileName
The string passed to Speak(String, SpeakFlags) is a file name, and the file text should be spoken.
IsXML
The input text will be parsed for XML markup.
IsNotXML
The input text will not be parsed for XML markup.
PersistXML
Global state changes in the XML markup will persist across Speak(String, SpeakFlags) calls.
SpeakPunctuation
Punctuation characters should be expanded into words (e.g. "This is a sentence." would become "This is a sentence period").

See Also