1. Place a Image Control on web page.
<asp:image runat="server" id="imgData" xmlns:asp="#unknown" />
2. Create "Bitmap" object on code side.
Bitmap b =new Bitmap(width, height);
3. Create "Graphics" object with the help that "Bitmap".
Graphics g = Graphics.FromImage(b);
4. Now Use "Graphics" objects methods for drawing boxes & lines ... etc.
g.FillRectangle(new SolidBrush(Color.White), new Rectangle(0, 0, width, height));
g.DrawEllipse(Pens.LightGray, 0, 0, 50, 50);
g.DrawLine(Pens.LightGray, 0, 2, 50, 100);
5. Save the "Bitmap" to Disk on any path using save method of "Bitmap" object.
b.Save(Server.MapPath("~\\UserUploadedDocuments\\ImageIcon.jpeg"));
6. Set "imgData" control ImageUrl property to saved image path.
imgData.ImageUrl = "UserUploadedDocuments\\ImageIcon.jpeg";
This will render a dynamic image as per your need.