日期:2014-05-17 浏览次数:20836 次
Bitmap bitmap = new Bitmap(200, 200, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics g = Graphics.FromImage(bitmap); g.DrawString("Bitmap方法外部测试", new Font("宋体", 6), new SolidBrush(Color.Black), 2, 2); g.Dispose();bitmap.Save("D://bmp.bmp"); bitmap.Dispose();