private void printDocument_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
Image im = pictureBoxCtrl.Image;
im.Save("c:\\test.bmp", System.Drawing.Imaging.ImageFormat.Bmp); e.Graphics.DrawImage(im, new Rectangle(0, 0, im.Width, im.Height), 0, 0, im.Width, im.Height, GraphicsUnit.Pixel);
}为何我save处理的东西都是好的,但是print出来的就只是一部分呢?
im.width=1728, im.height=2762
为何打印的只有一部分哟?奇怪!
{
Image im = pictureBoxCtrl.Image;
im.Save("c:\\test.bmp", System.Drawing.Imaging.ImageFormat.Bmp); e.Graphics.DrawImage(im, new Rectangle(0, 0, im.Width, im.Height), 0, 0, im.Width, im.Height, GraphicsUnit.Pixel);
}为何我save处理的东西都是好的,但是print出来的就只是一部分呢?
im.width=1728, im.height=2762
为何打印的只有一部分哟?奇怪!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货