Tuesday 25 August 2009

How to create a System.Drawing.Graphics object in Asp.Net

Quick and easy way to do this is create a bitmap and use that:

Bitmap TextBitmap = new Bitmap(1, 1);
Graphics g = Graphics.FromImage(TextBitmap);

No comments:

Post a Comment

Note: only a member of this blog may post a comment.