AxWebBrowser custom header and footer via C#

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!
 
T

Tim Anderson

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
 

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