c# - How to fit page to Silverlight WebBrowser control? -


i use webbrowser silverlight 4 control load page:

<webbrowser height="350" name="webbrowser" width="400" /> ... webbrowser.navigate(new uri("http://mail.live.com"));  

but page loads horizontal , vertical scroll bars. i'm trying find ways actual size of loaded page (then can change height/width of control) or change scale of loaded page (to fit actual webcontrol control). possible standard webcontrol methods?

the web browser component in silverlight com component wrapped silverlight control.

you have 2 options. 1) make web site fluid inside browser shrink browser.

or

2) way "shrink" web site set zoom. there link here tricking mouse scroll wheel zooming you.

http://forums.silverlight.net/forums/p/200177/466986.aspx


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -