Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

PromptBuilder.AppendText Method (String, PromptEmphasis)

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

'Declaration
Public Sub AppendText ( _
    textToSpeak As String, _
    emphasis As PromptEmphasis _
)
'Usage
Dim instance As PromptBuilder
Dim textToSpeak As String
Dim emphasis As PromptEmphasis

instance.AppendText(textToSpeak, emphasis)
public void AppendText(
    string textToSpeak,
    PromptEmphasis emphasis
)

Parameters

  • textToSpeak
    Type: System.String
    A string containing the text to be spoken.

Remarks

The speech synthesis engines for the Microsoft Speech Platform do not support the PromptEmphasis at this time. Setting values for PromptEmphasis will produce no change in the synthesized speech output.

See Also

Reference

PromptBuilder Class

PromptBuilder Members

AppendText Overload

Microsoft.Speech.Synthesis Namespace