110,536
社区成员
发帖
与我相关
我的任务
分享
try
{
Panel P = this.panel_画布区_B;
Rectangle rect = new Rectangle(0, 0, P.Width, P.Height);
Bitmap bmp = new Bitmap(rect.Width, rect.Height);
this.panel_画布区_B.DrawToBitmap(bmp, rect);
bmp.Save(saveFileDialog.FileName);
CntuImageSave(bmp, saveFileDialog.FileName, "image/jpeg");
bmp.Dispose();
}
catch (Exception)
{
//throw;
}