Printint the content of a webbrowser control

  • Thread starter Thread starter graphicsxp
  • Start date Start date
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
 
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 ?
 
Back
Top