Windows窗体中的Web浏览器内容 [英] Webbrowser content in windows form

查看:107
本文介绍了Windows窗体中的Web浏览器内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在windows窗体中使用web浏览器,同时在vb.net中编写代码。我必须增加webbrowser中内容的大小。是否有任何方法可用于增加webbrowser中内容的大小。


对于一个示例iam在vb.net应用程序中使用webbrowser表单来显示facebook登录屏幕,我希望在webbrowser窗口中看到登录屏幕更大。


请帮我解决这个问题。

解决方案

从浏览器中查询IWebBrowser2并使用OLECMDID_OPTICAL_ZOOM调用ExecWB

Iam using a webbrowser in a windows forms while writing coding in vb.net.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.net 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 call ExecWB with OLECMDID_OPTICAL_ZOOM


这篇关于Windows窗体中的Web浏览器内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆