Control the ShowPrintPreviewDialog for Web Browser Control

NiravVyas

Member
Joined
Dec 10, 2010
Messages
8
Programming Experience
1-3
HI Experts,

I am using a Web Browser Control in my application at many places, also I am using
WebBrowser1.ShowPrintPreviewDialog() to preview the content of the WebBrowser, Now the issue is I want the size of Window that opens on WebBrowser1.ShowPrintPreviewDialog() to be exaclt same as standard size I have for other forms.

Note that I had tried to apply WebBrowser1.Parent = Me but that does not work for me, the output window is some 15MM more in Height and 10MM wide then its parent window.

I am googling this issue since tow days, no luck so far, can any one please advice.

Thanks
Nirav Vyas
 
Back
Top