Partager via


SpeechSequentialWorkflowActivity.TtsVolume Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Gets or sets the volume on the synthesizer for this application.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
<GlobalizedDescriptionAttribute("SpeechSequentialWorkflowActivity_TtsVolume")> _
<GlobalizedCategoryAttribute("SpeechCategory")> _
<PropertyEditorPanelAttribute("TtsVolumePanel")> _
<DefaultValueAttribute(70)> _
<EditorAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.GenericSpeechUITypeEditor, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", GetType(UITypeEditor))> _
Public Property TtsVolume As Integer
[GlobalizedDescriptionAttribute("SpeechSequentialWorkflowActivity_TtsVolume")] 
[GlobalizedCategoryAttribute("SpeechCategory")] 
[PropertyEditorPanelAttribute("TtsVolumePanel")] 
[DefaultValueAttribute(70)] 
[EditorAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.GenericSpeechUITypeEditor, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", typeof(UITypeEditor))] 
public int TtsVolume { get; set; }

Property Value

The volume on the synthesizer for this application.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

An attempt is made to set TtsVolume to a negative value or one that is greater than 100.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

SpeechSequentialWorkflowActivity Class
SpeechSequentialWorkflowActivity Members
Microsoft.SpeechServer.Dialog Namespace