这是截图的代码
我在窗体上自己画了曲线,不能保存下来,怎么办
Bitmap _FormImage = new Bitmap(this.Width, this.Height);
this.DrawToBitmap(_FormImage, new Rectangle(0, 0, this.Width, this.Height));
Rectangle _Height = this.RectangleToScreen(menuStrip1.Bounds); int _Index = _Height.Y - this.Location.Y + menuStrip1.Height;
_FormImage.Clone(new Rectangle(0, _Index, this.Width, this.Height - _Index), PixelFormat.Format24bppRgb).Save(@"C:\1.bmp");
我在窗体上自己画了曲线,不能保存下来,怎么办
Bitmap _FormImage = new Bitmap(this.Width, this.Height);
this.DrawToBitmap(_FormImage, new Rectangle(0, 0, this.Width, this.Height));
Rectangle _Height = this.RectangleToScreen(menuStrip1.Bounds); int _Index = _Height.Y - this.Location.Y + menuStrip1.Height;
_FormImage.Clone(new Rectangle(0, _Index, this.Width, this.Height - _Index), PixelFormat.Format24bppRgb).Save(@"C:\1.bmp");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货