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