在vb.net中的Webbrowser控件中禁用放大/缩小 [英] Disable zoom in/out in Webbrowser control in vb.net

查看:280
本文介绍了在vb.net中的Webbrowser控件中禁用放大/缩小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用vb.net中的monitor-touchscreeen禁用Webbrowser控件中的放大/缩小

How to disable zoom in/out in Webbrowser control with monitor-touchscreeen in vb.net

Help!!!

推荐答案

禁用缩放的唯一方法是将一个值添加到注册表中,该文件记录在 ^ ].这样做的问题在于,它也会同时禁用Internet Explorer的ALL INSTANCES中的缩放.

对于应用程序这样的影响整个机器,这将被认为是不可接受的行为,因此我不建议这样做.
The only way to disable the zoom is to pke a value into the registry, documented here[^]. The problem with doing this is that it will disable the zoom in ALL INSTANCES of Internet Explorer also.

This would be considered unacceptable behavior for application to affect an entire machine like this so I do not recommend doing it at all.


这篇关于在vb.net中的Webbrowser控件中禁用放大/缩小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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