Export (0) Print
Expand All

SpeechSynthesizer Constructor

Initializes a new instance of the SpeechSynthesizer class.

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

public SpeechSynthesizer()

When you initialize a new SpeechSynthesizer instance, it uses the default system voice. To configure the SpeechSynthesizer to use one of the installed speech synthesis (text-to-speech) voices, use the SelectVoice or SelectVoiceByHints method. To get information about which voices are installed, use the GetInstalledVoices method and the VoiceInfo class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft