摘要:
//引用组件:Interop.SpeechLib.dll //导入空间:SpeechLib//引用组件:Interop.SpeechLib.dll//导入空间:SpeechLib//1.SpVoice voice = new SpVoice();//2.voice.Speak(txt.Text, SpeechVoiceSpeakFlags.SVSFDefault); //同步朗读 //3.voice.Speak(txt.Text, SpeechVoiceSpeakFlags.SVSFlagsAsync); //异步朗读//voice.Voice =... 阅读全文