富文本框截图直接打印,内容截取不到
//////////控件截图直接打印
Graphics myGraphics = this.CreateGraphics();
memoryImage = new Bitmap(this.Width, this.Height - (start - this.Location.Y), myGraphics);
Rectangle rect = new Rectangle(newpoint, newsize);
////Rectangle rect = new Rectangle(new Point(0,0), newsize);
this.DrawToBitmap(memoryImage, rect);
e.Graphics.DrawImage(memoryImage, newpoint);
是什么原因啊?谢谢!this就是富文本框
------解决方案--------------------帮项,关注中,期待答案
------解决方案--------------------直接生成图片,不用myGraphics
还就检查下截取的位置