Default WebBrowser.ShowPrintPreviewDialog to Landscape?

J

jehugaleahsa

Hello:

I am using the WebBrowser class to display some dynamically generated
HTML. I don't know how to print it other than using the built-in
methods, like ShowPrintPreviewDialog.

I would like to default the layout to lanscape, but it doesn't appear
to be supported. I don't want the headers showing up either (my users
don't need to see about:blank).

Am I missing something?

Otherwise, is there another way to print the document that is
generated by the WebBrowser?

Thanks,
Travis
 

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