Printint the content of a webbrowser control

Printint the content of a webbrowser control

am 02.04.2008 14:44:56 von 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

Re: Printint the content of a webbrowser control

am 15.04.2008 16:26:46 von graphicsxp

On 2 Apr, 13:44, graphic...@googlemail.com wrote:
> 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 ?