我是按照百度经验上面一步步来做的 http://jingyan.baidu.com/article/4b52d7027697d7fc5c774b8d.html,问题是我把代码都敲进去 有地方报错了。
//输出成gif文件
string strAbsolutePath = Application.StartupPath + @"\Images\rate.gif";
mySpace.ExportPicture(strAbsolutePath, "gif", pictureBox1.Width, pictureBox1.Height);
pictureBox1.ImageLocation = strAbsolutePath;//把图片添加到image
中间的那句报错 疑难解答说 验证目录是否存在于指定位置,使用相对路径时,请确保当前目录是正确。求教是哪里出现问题了啊?
//输出成gif文件
string strAbsolutePath = Application.StartupPath + @"\Images\rate.gif";
mySpace.ExportPicture(strAbsolutePath, "gif", pictureBox1.Width, pictureBox1.Height);
pictureBox1.ImageLocation = strAbsolutePath;//把图片添加到image
中间的那句报错 疑难解答说 验证目录是否存在于指定位置,使用相对路径时,请确保当前目录是正确。求教是哪里出现问题了啊?
