How to Save a webpage as an image?

499 views Asked by At

Possible Duplicate:
Programmatically get screenshot of page

What I am doing is a simple WebBrowser1.Navigate("site");

What I want to do is save a copy of that webpage that loads in my windows form WebBrowser1. Any thoughts?

2

There are 2 answers

0
santiagoIT On

Yes, that should be possible as WebBrowser is derived from Control.

This link explains how to get a screenshot from a winforms app.

Another SO question that might be useful

0
Mark Cidade On

If you want to save the document as, e.g., an HTML file, the you can call the WebBrowser.ShowSaveAsDialog method.