Capture image in an existing webbrowser control

Htmlsnapshot can capture image of an existing webbrowser control and save it into jpg, bmp, gif, png etc.

You need to pass the object instance of the webbrowser control (IDispatch in C++).

In VB6, you can do it like below:

     Dim snap1 As HtmlSnap2.CHtmlSnap
     Set snap1 = CreateObject(“HTMLSNAP2.HtmlSnap.1″)
     snap1.SnapWebBrowser WebBrowser1.Object, “c:web.bmp”

We also provide C# demo with our trial version.