在工程库中添加Speech
Project->addReference->System.Speech
using System.Speech.Synthesis;
SpeechSynthesizer dsynthesizer = new SpeechSynthesizer();
dsynthesizer.Speak("不要老想着搞大新闻");
其他API参考文档
在工程库中添加Speech
Project->addReference->System.Speech
using System.Speech.Synthesis;
SpeechSynthesizer dsynthesizer = new SpeechSynthesizer();
dsynthesizer.Speak("不要老想着搞大新闻");
其他API参考文档