using (System.Drawing.Bitmap backgroudImg = System.Drawing.Bitmap.FromFile(DoubleClickPicInfo.FileName) as System.Drawing.Bitmap) { backgroudImg.RotateFlip("1".Equals(pargs) ? RotateFlipType.Rotate270FlipNone : RotateFlipType.Rotate90FlipNone); System.Drawing.Bitmap backgroudImgtemp = backgroudImg; backgroudImg.Save(DoubleClickPicInfo.FileName); backgroudImg.Dispose(); }
时间: 2024-10-07 19:31:45