AppendText Method (String, PromptVolume)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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.

See Also