标签:
Bitmap bmp = new Bitmap(100, 100); Graphics g = Graphics.FromImage(bmp); g.Clear(Color.White); g.DrawString("abc", new Font("宋体", 12), new SolidBrush(Color.Red), 0, 0); System.IO.MemoryStream ms = new System.IO.MemoryStream(); bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Gif); Response.BinaryWrite(ms.GetBuffer());
标签:
原文地址:http://www.cnblogs.com/bigfish291202/p/5223895.html