SpeakProgress Event

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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

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

Syntax

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

AddHandler instance.SpeakProgress, handler
C#
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