2
Answers

How to set page orientation programmaticaly in print preview dialog of microsoft web browser control?

Mohit Zinzuvadia

Mohit Zinzuvadia

15y
11.7k
1
Hi, I am developing a desktop application in which I have used Microsoft web browser control to display the HTML file generated by my application. Now at this point, when the page is displyed in the browser of my application and if user selects the print preview option of the web browser than the user gets the portrait page orientation preview by default. Now I want to set that, when user click the print preview button, at that time, user gets the Landscape page orientation by default. This thing is possible in defualt print preview dialog control of visual studio .net. I just need to apply it in the default print preview dialog of the microsoft web browser control which is provided with visual studio .net. Please reply to the issue as soon as possible as its bit urgent. Thanks in advance.....
Answers (2)