using System; using System.Windows.Forms; using System.Speech.Synthesis; namespace Work_report { public partial class texttospeech : Form { public texttospeech() { InitializeComponent(); } private void btnconvert_Click(object sender, EventArgs e) { SpeechSynthesizer sp = new SpeechSynthesizer(); sp.Volume = 100; sp.Rate = 1; sp.Speak(txttext.Text); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)