0

I have a webBrowser Control in my application. I navigate to a web page and zoom it using pinch zooming. Now on clicking of a button, I change the current webPage of the webBrowser control. The new webPage appears automatically zoomed in. How can I reset this zoom everytime on a new navigation?

Milan Aggarwal
  • 5,104
  • 3
  • 25
  • 54

1 Answers1

0

Here is a post about your problem: WP7 WebBrowser control zoom

You have to manipulate the html of your page and reset the viewport.

Community
  • 1
  • 1
Aerilys
  • 1,628
  • 1
  • 16
  • 22
  • If you can change the page, you can use the 'InvokeScript' method. otherwise, you can use 'SaveToString' to get the html, modify it and inject it in your webbrowser. – Aerilys Sep 12 '12 at 07:35