Convert Div in Image format and Save it in jpeg.

Posted by Venkatesh under ASP.NET on 1/30/2012 | Points: 10 | Views : 12474 | Status : [Member] | Replies : 3
Hi All,

I am working on One website, I have HTML Div, which contains some controls and text So, i want to Save this Div in Image format, How can do this?

Thanks,
Venkatesh.P




Responses

Posted by: Pradeepkumar417 on: 1/31/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

By Using below name spaces you can create a image with div content.

1. System.Drawing;
2. System.Drawing.Imaging;
3. System.Drawing.Drawing2D
4. System.Drawing.Graphics

The classes in these name spaces consists of methods & properties to draw an image.

Thanks & Regards,
Pradeep Kumar,
Software Engineer.

Thanks & Regards,
Software Engineer,
Pradeep Kumar

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 1/31/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Not clear your request. Can you specify the div content.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Stevnetk on: 3/13/2012 [Member] Starter | Points: 25

Up
0
Down
see this demo: http://www.hiqpdf.com/demo/ConvertHtmlToImage.aspx
You can convert anything a browser can render to Image.
I hope it helps.
Regards,
stevnetk

Venkatesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response