private void Design_PrintDocument_PrintPage(object sender, PrintPageEventArgs e) { Bitmap bm = new Bitmap(this.Report_GroupBox.Width, this.Report_GroupBox.Height); Report_GroupBox.DrawToBitmap(bm, new Rectangle(0, 0, this.Report_GroupBox.Width, this.Report_GroupBox.Height)); e.Graphics.DrawImage(bm, 0, 0); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)