摘要: //引用组件: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 =... 阅读全文
posted @ 2014-01-26 01:29 microsoftzhcn 阅读(11533) 评论(2) 推荐(0) 编辑