Convert panel content to image in asp.net c#
i trying convert panel content to image in asp.net c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Arindam Nayak5 pointsPosted Nov 24, 2014, 8:09 AM EST
http://html2canvas.hertzen.com/examples.html
This converts html into canvas and then convert canvas to base 64 image using
var image = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");