How to render or convert HTML to an image using the WebBrowser control

IntroductionWant to render a custom HTML or a web page to an image. This sample shows how to implement a HTML to image "converter".Description Want to render a custom HTML or a web page to an image. This sample shows how to implement a HTML to image "converter" using the WebBrows

C# (41.0 KB)
 
 
 
 
 
4.5 Star
(2)
4,771 times
Add to favorites
5/2/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Dynamic sized html pages
    1 Posts | Last post December 05, 2014
    • First of all, awesome application.  So simple, and yet incredibly effective.
      
      I was wondering if you ever found a way to allow your application to dynamically handle various html page sizes.  Or perhaps trim empty white space along the height of the resulting bitmap.