Web缩放

可以这么写,这个网页缩放了 同时滚动条也被绽放了,明显结果不正确

webBrowser1.Document.Body.Style = "zoom:200%";

正解

http://stackoverflow.com/questions/738232/zoom-in-on-a-web-page-using-webbrowser-net-control

这么写也可以

//Zoom IN
webBrowser1.Focus();SendKeys.Send("^{+}");// [CTRL]+[+]//Zoom OUT
webBrowser1.Focus();SendKeys.Send("^-");// [CTRL]+[-]//Zoom 100%
webBrowser1.Focus();SendKeys.Send("^0");// [CTRL]+[0]
原文地址:https://www.cnblogs.com/xe2011/p/3464073.html