C#中出现:未处理的“System.Runtime.InteropServices.ExternalException”类型的异常出现在 System.Drawing.dll中
其他信息: GDI+ 中发生一般性错误。
出错代码是 g.DrawString(((char)(ascii)).ToString(), font, new SolidBrush(color), x, yy);
其他信息: GDI+ 中发生一般性错误。
出错代码是 g.DrawString(((char)(ascii)).ToString(), font, new SolidBrush(color), x, yy);
你可以在其他地方写代码测试下,用同样的参数。
如果还不行,尝试改变某一个参数,从能找出问题。