Save or output WebBrowser object context to .pdf file in VB.NET
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-03-10T17:57:59Z
Indexed on
2010/03/28
2:33 UTC
Read the original article
Hit count: 417
I am loading an html page into a WebBrowser object in a VB.NET Windows Forms application. The user may make changes to textboxes, dropdowns, etc. on the HTML page displayed in the browser. I want the ability to save the current context to a .pdf file on the local HD. I am able to print using WebBrowser.Print(), which shows the current context, but what ways are possible to get this saved as a PDF file locally?
© Stack Overflow or respective owner