Share via


Note

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

SpeechSynthesizer.SpeakProgress Event

Raised after the SpeechSynthesizer speaks each individual word of a prompt.

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

Syntax

'Declaration
Public Event SpeakProgress As EventHandler(Of SpeakProgressEventArgs)
'Usage
Dim instance As SpeechSynthesizer
Dim handler As EventHandler(Of SpeakProgressEventArgs)

AddHandler instance.SpeakProgress, handler
public event EventHandler<SpeakProgressEventArgs> SpeakProgress

Remarks

The SpeechSynthesizer raises this event for each new word that it speaks in a prompt using any of the Speak(), SpeakAsync(), SpeakSsml(String), or SpeakSsmlAsync(String) methods. For information about data associated with the event, see SpeakProgressEventArgs.

See Also

Reference

SpeechSynthesizer Class

SpeechSynthesizer Members

Microsoft.Speech.Synthesis Namespace