can you please give me example.
how to get all the div contents using innerhtml including image as well and how to pass that in function.
Bitmap bit1 = new Bitmap(200, 30, System.Drawing.Imaging.PixelFormat.Format64bppArgb);
Graphics gph1 = Graphics.FromImage(bit1);
string text;
string labal;
gph1.Clear(Color.Orange);
text = Txtimage.Text;
labal = lblimage.Text;
dvforimage.InnerHtml = text;
dvforimage.InnerHtml +=labal;
gph1.DrawString(dvforimage.ToString(), new Font("Arial", 18, FontStyle.Italic),
new SolidBrush(Color.Red), new PointF(0.4F, 2.4F));
Response.ContentType = "image/Jpeg";
bit1.Save(Response.OutputStream, ImageFormat.Jpeg);
bit1.Dispose();