Printint the content of a webbrowser control

G

graphicsxp

Hi,

I have a winform application with a webbrowser control. I can print
the content by doing myWebBrowserControl.Print().

But I'd like to use a PrintDialog control, which I need to pass a
PrintDocument. That's where I get confused. How can I 'convert' the
content of my WebBrowser control to a PrintDocument ?

Thanks
 
G

graphicsxp

Hi,

I have a winform application with a webbrowser control. I can print
the content by doing myWebBrowserControl.Print().

But I'd like to use a PrintDialog control, which I need to pass a
PrintDocument. That's where I get confused. How can I 'convert' the
content of my WebBrowser control to a PrintDocument ?

Thanks

Can anyone help with that please ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top