SpeechSynthesizer.VoiceChange Event


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raised when the voice of the SpeechSynthesizer changes.

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

public event EventHandler<VoiceChangeEventArgs> VoiceChange

For an example and information about data associated with the event, see VoiceChangeEventArgs.

You can change the voice that the SpeechSynthesizer uses with any of the PromptBuilder's StartVoice methods or the SpeechSynthesizer's SelectVoice or SelectVoiceByHints methods.

.NET Framework
Available since 3.0
Return to top