Windows窗体中的Web浏览器内容

编程入门 行业动态 更新时间:2024-10-28 12:26:12
本文介绍了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浏览器内容

本文发布于:2023-11-09 16:15:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1572832.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:窗体   浏览器   内容   Windows   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!