PromptStyle Constructor (PromptVolume)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Initializes a new instance of the PromptStyle class and specifies the setting for the speaking volume of the style.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	volume As PromptVolume _
)
Visual Basic (Usage)
Dim volume As PromptVolume

Dim instance As New PromptStyle(volume)
C#
public PromptStyle(
	PromptVolume volume
)

Parameters

volume
Type: Microsoft.Speech.Synthesis..::..PromptVolume

The setting for the volume (loudness) of the style.

See Also