Question converting HTML to a .png file

timcyberbanjo

New member
Joined
Oct 20, 2008
Messages
3
Programming Experience
5-10
Hi,
I have a task thrown my way to use vb.net to convert a HTML document to a .png (image format) programatically. I have sniffed about the net and found there are several 3rd party products that can do that sort of thing, so I see it can be done. Does anyone out there know of fairly simple way of doing it programatically. Preferably with freeware?
cheers.
 
Hello.

You could try to use System.Windows.Forms.WebBrowser, and let it paint onto a Bitmap (keyword: Paint Control To Bitmap) instead of onto itself.

Also, you could try to embed the Gecko (Mozilla2)-Engine within your application and let it do the rendering. However, I've never done this.

Bobby
 
Back
Top