This documentation is archived and is not being maintained.

PromptVolume Enumeration

Enumerates values for volume levels (loudness) in prompts.

Namespace:  System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

public enum PromptVolume

Member nameDescription
NotSetIndicates that the volume level is not set.
SilentIndicates a muted volume level.
ExtraSoftIndicates an extra soft volume level.
SoftIndicates a soft volume level.
MediumIndicates a medium volume level.
LoudIndicates a loud volume level.
ExtraLoudIndicates an extra loud volume level.
DefaultIndicates the engine-specific default volume level.

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.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.