Windows Vista Forums

Printint the content of a webbrowser control
  1. #1


    graphicsxp Guest

    Printint the content of a webbrowser control

    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



      My System SpecsSystem Spec

  2. #2


    graphicsxp Guest

    Re: Printint the content of a webbrowser control

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

      My System SpecsSystem Spec

Printint the content of a webbrowser control problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative to WebBrowser control? ngrTerry .NET General 3 04 Nov 2009
How do I debug JavaScript in a WebBrowser control? John Brock .NET General 5 15 Sep 2009
automating ie or webbrowser control Scott Baxter VB Script 3 29 May 2009
is the dotnet 2 webbrowser control based on IE 6 or 7? James .NET General 6 19 Feb 2009
WebBrowser control in a WPF app. Shogun Avalon 3 04 May 2006