Click or drag to resize
TapiLineSpeechVoice Property
Gets or sets text-to-speech voice to be used for text synthesis on the line.

Namespace: Traysoft.AddTapi
Assembly: Traysoft.AddTapi (in Traysoft.AddTapi.dll) Version: 6.0.0.1110
Syntax
public TapiVoice SpeechVoice { get; set; }

Property Value

Type: TapiVoice
Remarks
This property sets the text-to-speech (TTS) voice to use for subsequent TapiCall.Speak calls on the line. The list of available TTS voices is obtained from the Voices collection. To use default voice selected in the Speech applet in the Control Panel, set SpeechVoice property to null (Nothing in Visual Basic).
Examples
The following code shows how to set text-to-speech voice for text synthesis on the line.
TapiApp.Initialize("MyApp");
TapiLine line = TapiApp.Lines[0];
TapiVoice voice = TapiApp.Voices[0];
line.SpeechVoice = voice;
See Also