//======================================= protected void Page_Load(object sender, EventArgs e) { Bitmap objBMP = new Bitmap(60, 20); Graphics objGraphics = Graphics.FromImage(objBMP); objGraphics.Clear(Color.Yellow); objGraphics.TextRenderingHint = TextRenderingHint.AntiAlias; Response.ContentType = "image/GIF"; objBMP.Save(Response.OutputStream, ImageFormat.Gif); objGraphics.Dispose(); objBMP.Dispose(); } //======================================
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)