PromptBuilder..::..AppendText Method (String, PromptEmphasis) |
PromptBuilder Class See Also Send Feedback |
Appends text to the PromptBuilder object and specifies the degree of emphasis for the text.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub AppendText ( _ textToSpeak As String, _ emphasis As PromptEmphasis _ ) |
Visual Basic (Usage) |
---|
Dim instance As PromptBuilder Dim textToSpeak As String Dim emphasis As PromptEmphasis instance.AppendText(textToSpeak, emphasis) |
C# |
---|
public void AppendText( string textToSpeak, PromptEmphasis emphasis ) |
Parameters
- textToSpeak
- Type: System..::..String
A string containing the text to be spoken.
- emphasis
- Type: Microsoft.Speech.Synthesis..::..PromptEmphasis
The value for the emphasis or stress to apply to the text.