







Enumerates values for volume levels (loudness) in prompts.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Enumeration PromptVolume |
| Visual Basic (Usage) |
|---|
Dim instance As PromptVolume |
| C# |
|---|
public enum PromptVolume |
Members
| Member name | Description | |
|---|---|---|
| NotSet | Indicates that the volume level is not set. | |
| Silent | Indicates a muted volume level. | |
| ExtraSoft | Indicates an extra soft volume level. | |
| Soft | Indicates a soft volume level. | |
| Medium | Indicates a medium volume level. | |
| Loud | Indicates a loud volume level. | |
| ExtraLoud | Indicates an extra loud volume level. | |
| Default | Indicates the engine-specific default volume level. |
Remarks
Members of the PromptVolume enumeration are used by the PromptStyle(PromptVolume) constructor, by the AppendText(String, PromptVolume) method, and by the StartStyle(PromptStyle) method to specify the volume level for spoken text. The Volume property gets the volume for a PromptStyle object using a PromptVolume instance.
