Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SynthesisTextFormat Enumeration

Enumerates the types of text formats that may be used to construct a Prompt object.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

'Declaration
Public Enumeration SynthesisTextFormat
'Usage
Dim instance As SynthesisTextFormat
public enum SynthesisTextFormat

Members

Member name Description
Text Indicates that text format is Text.
Ssml Indicates that text format is SSML.

See Prompt(String, SynthesisTextFormat) for an example.

Remarks

The Prompt(String, SynthesisTextFormat) constructor uses SynthesisTextFormat to indicate the format of the text that its textToSpeak parameter contains.

See Also

Reference

Microsoft.Speech.Synthesis Namespace

Prompt