foreach (ISpeechObjectToken Token in speech.GetVoices(string.Empty, string.Empty)) { string str = Token.GetDescription(49).ToString(); if (str.Equals("Microsoft Simplified Chinese")) { speech.Voice = speech.GetVoices(string.Empty, string.Empty).Item(3);//Item(cmbVoices.SelectedIndex); } // Populate the ComboBox Entries .. cmbVoices.Items.Add(Token.GetDescription(49)); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)