PromptBuilder::StartVoice Method (VoiceGender, VoiceAge)
.NET Framework (current version)
Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender and the age of the new voice.
Assembly: System.Speech (in System.Speech.dll)
Parameters
- gender
-
Type:
System.Speech.Synthesis::VoiceGender
The gender of the new voice to use.
- age
-
Type:
System.Speech.Synthesis::VoiceAge
The age of the voice to use.
Use the GetInstalledVoices methods and VoiceInfo class to obtain the names and attributes of installed text-to-speech (TTS) voices that you can select.
To stop using the voice specified by StartVoice call EndVoice.
.NET Framework
Available since 3.0
Available since 3.0
Show: