本文介绍了Windows窗体中的Web浏览器内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在windows窗体中使用web浏览器,同时在vb中编写代码。我必须增加webbrowser中内容的大小。是否有任何方法可用于增加webbrowser中内容的大小。
对于一个示例iam在vb应用程序中使用webbrowser表单来显示facebook登录屏幕,我希望在webbrowser窗口中看到登录屏幕更大。
请帮我解决这个问题。
解决方案从浏览器中查询IWebBrowser2并使用OLECMDID_OPTICAL_ZOOM调用ExecWB
Iam using a webbrowser in a windows forms while writing coding in vb.I have to increase the size of the contents in the webbrowser .Is there any methods available to increase the size of the contents in the webbrowser.
For an example iam using a webbrowser form in a vb application to show the facebook login screen i want to see the login screen as some more bigger in the webbrowser window.
Please help me to resolve this.
解决方案 query IWebBrowser2 from the browser and callExecWB with OLECMDID_OPTICAL_ZOOM更多推荐
Windows窗体中的Web浏览器内容
发布评论