Enumerates values for the levels of speaking emphasis in prompts.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Enumeration PromptEmphasis |
Visual Basic (Usage) |
---|
Dim instance As PromptEmphasis |
C# |
---|
public enum PromptEmphasis |
Members
Member name | Description | |
---|---|---|
NotSet | Indicates that no emphasis value is specified. | |
Strong | Indicates a strong level of emphasis. | |
Moderate | Indicates a moderate level of emphasis. | |
None | Indicates no emphasis. | |
Reduced | Indicates a reduced level of emphasis. |
Remarks
Members of the PromptEmphasis enumeration are used by the PromptStyle(PromptEmphasis) constructor, by the AppendText(String, PromptEmphasis) method, and by the StartStyle(PromptStyle) method to specify the level of emphasis for spoken text. The Emphasis property gets the emphasis for a PromptStyle object using a PromptEmphasis instance.