예제 #1
0
 public void PrintPictureBox(System.Windows.Forms.Control c,
     ParentControlPrinting typePrint,
     MultiPageManagement mp,
     Single x, Single y,
     ref Single extendedHeight, out bool ScanForChildControls)
 {
     ScanForChildControls = false;
     extendedHeight = mp.BeginPrintUnit(y, c.Height);
     PictureBox pic = (PictureBox) c;
     mp.DrawImage(pic.Image, x, y, c.Width, c.Height);
     mp.EndPrintUnit();
 }