AxWebBrowser custom header and footer via C#

  • Thread starter Thread starter John
  • Start date Start date
J

John

I have been looking everywhere on how to insert custom
headers and footers into an AxWebBrowser control from C#
without prompting the user for page setup and the only
really relevant piece of information I have found is the
following:

http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/Q2
67/2/40.ASP&NoWebContent=1

Now, thats all great, but now the question remains as to
how that is actually done from C#, can anyone please help
me around this long time annoyance? Thanks!
 
John said:
I have been looking everywhere on how to insert custom
headers and footers into an AxWebBrowser control from C#
without prompting the user for page setup and the only
really relevant piece of information I have found is the
following:

You have to use print templates. In my HtmlEditor control there's a print
method that takes the path to a print template as one of its arguments:

http://www.itwriting.com/htmleditor/index.php

Tim
 
Back
Top