Skip to content

Convert panel content to image in asp.net c#

ramesh cse

ramesh cse

Asked Nov 24, 2014, 7:04 AM EST1 answer
Share
LinkedInX
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.

  • 0
    You need to convert HTML content residing panel content to image. For that , you need to look at 
    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");

    0