Capturing the Contents of a Web Page

To capture a screenshot of the the part of the web page that is currently visible in the browser window, you can use the CaptureBitmap method. You have to specify the absolute or relative file path to the location and the name for the image file as a parameter. For example:
WebBrowser.BrowserWindow.CaptureBitmap("C:\Temp\MyPage.png")
To capture a screenshot of the entire contents of a web page as a single image, you can use the CaptureFullPageBitmap method. You have to specify the absolute or relative file path to the location and the name for the image file as a parameter. For example:
WebBrowser.BrowserWindow.CaptureFullPageBitmap("C:\Temp\MyPage.png")