Specifies the start of a style in the PromptBuilder object.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub StartStyle ( _ style As PromptStyle _ ) |
Visual Basic (Usage) |
---|
Dim instance As PromptBuilder Dim style As PromptStyle instance.StartStyle(style) |
C# |
---|
public void StartStyle( PromptStyle style ) |
Parameters
- style
- Type: Microsoft.Speech.Synthesis..::..PromptStyle
The style to start.
Remarks
The StartStyle(PromptStyle) method takes a PromptStyle object as its argument. You can use the properties of the PromptStyle object to set the emphasis, speaking rate, and volume (loudness) to apply to speech output while the style is in effect. To stop using the current style, call the EndStyle()()()() method.