日期:2014-05-17 浏览次数:20760 次
if (i < Form1.Pimages.Count - 1)
{
//读取图片
Image Ptemp = (Bitmap)Image.FromFile(Form1.Pimages[i]);
if (Print.docToPrint.DefaultPageSettings.Landscape == false)
{
if (Ptemp.Width > Ptemp.Height)
{
Ptemp = Angle((Bitmap)Ptemp, 90);
}
}
else
{
if (Ptemp.Width < Ptemp.Height)
{
Ptemp = Angle((Bitmap)Ptemp, 90);
}
}
Picsize = FitSize((long)(((do