PromptBuilder.AppendText Method (String, PromptEmphasis)

 
System_CAPS_noteNote

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

Appends text to the PromptBuilder object and specifies the degree of emphasis for the text.

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

public void AppendText(
	string textToSpeak,
	PromptEmphasis emphasis
)

Parameters

textToSpeak
Type: System.String

A string containing the text to be spoken.

emphasis
Type: System.Speech.Synthesis.PromptEmphasis

The value for the emphasis or stress to apply to the text.

The speech synthesis engines in Windows do not support the emphasis parameter at this time. Setting values for the emphasis parameter will produce no audible change in the synthesized speech output.

.NET Framework
Available since 3.0
Return to top
Show: