How to fit page to Silverlight WebBrowser control?
Posted
by
Igor V Savchenko
on Stack Overflow
See other posts from Stack Overflow
or by Igor V Savchenko
Published on 2010-07-24T10:00:01Z
Indexed on
2011/01/13
2:53 UTC
Read the original article
Hit count: 343
Hello.
I use WebBrowser Silverlight 4 control to load some page:
<WebBrowser Height="350" Name="webBrowser" Width="400" />
...
webBrowser.Navigate(new Uri("http://mail.live.com"));
But page loads with horizontal and vertical scroll bars. So I'm trying to find some ways to get actual size of loaded page (then I can change Height/Width of control) OR change scale of loaded page (to fit it to the actual WebControl control). Is it possible to do with standard WebControl methods?
© Stack Overflow or respective owner