Capture image in an existing webbrowser control

120 views
Skip to first unread message

htmlsn...@gmail.com

unread,
Nov 9, 2007, 9:53:07 PM11/9/07
to html to image
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"
snap1.Clear

We also provide C# demo with our trial version.

Try htmlsnapshot here now
http://www.guangmingsoft.net/htmlsnapshot/help.htm

Reply all
Reply to author
Forward
0 new messages