4,817
社区成员




这是绘制的图形,
这是使用drawtobitmap之后保存的图形
string filepath = sfd.FileName;//文件路径
Bitmap b = new Bitmap(this.panel1.Width, this.panel1.Height);
// Rectangle rec = new Rectangle(0,0,panel1.Width,panel1.Height);
panel1.DrawToBitmap(b,panel1.ClientRectangle);
b.Save(filepath);
这是代码,有没有大神可以帮看一下啊