Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Oct 01, 2011 07:52 AM by roshnicoms
Sep 23, 2011 08:29 AM|LINK
I would like to save content of div as jpg ??
I mean to say , as it looks in browser , same content of div , i want to save as jpg.
I just go through this link : http://forums.asp.net/t/1117630.aspx/1/10
but this solutions saves content of my div like in this manner
: "<img id="mainimage" src="Image/cup.jpg" height="150px;" width="150px;" />"
i want to save this image (right now there is one image , but it might be more than one ) which is content of this div as Jpg ... !
Its urgent. Please help me anybody ...
Thanks in advance.
Sep 23, 2011 08:43 AM|LINK
Try this one
Sep 23, 2011 08:52 AM|LINK
Thanks for quick reply ,
but i think this will capture my whole web page ...
i dnt want that , i want to save only some portion of my Div .... !!
Sep 28, 2011 08:29 AM|LINK
You can use the httpwebrequset to request the webpage.
And use the string.substring to get the div control, then use the following way to capture the image.
Please check the following link:
Oct 01, 2011 07:52 AM|LINK
Thanks for your reply ...
but your these links don't help me ...
actually , i would like to give this capture functionality to my client who is using my web application ..
so if possible please let me know , how can I implement that code so my client will capture image
your given link : http://ramanisandeep.wordpress.com/2009/12/05/capture-web-page-as-image-using-asp-net/ for that i can get command prompt for long time.
can u suggest me different solution to capture div ??