在Web浏览器中放大或缩小 [英] zoom in or zoom out in web browser
本文介绍了在Web浏览器中放大或缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在网页浏览器控件中是否有任何放大或缩小已打开文档的规定
Is there is any provision to zoom in or zoom out of opened document in web browser control
推荐答案
这个 [ ^ ]可以帮助你。
这 link- [使用WebBrowser .NET控件放大] [ ^ ]有类似的问题和漂亮的解决方案。
更多链接: MSDN- [使用webbrowser控件缩放] [< a href =http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/ebaeaec3-64f8-495b-a493-a9a6dc8bcdca/\"target =_ blanktitle =New Window > ^ ]
如何放大在Webbrowser文档上 [ ^ ]
This link-[Zoom in using WebBrowser .NET control][^] having similar question with nice solution.
Some more link : MSDN-[Zoom using webbrowser control][^]
How To Zoom In On A Webbrowser Document[^]
why not this way?
<pre lang="c#">private void WebBrowser_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e)
{
((WebBrowser)sender).InvokeScript("eval", "
这篇关于在Web浏览器中放大或缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文