摘要:
1.引用COM:MicroSoftInternetControls2. 核心代码如下: private void button2_Click(object sender, EventArgs e) { IWebBrowser2 axIWebBrowser2 =(IWebBrowser2) this.webBrowser1.ActiveXInstance; //关键代码 Zoom(axIWebBrowser2,150); } public void Zoom( IWebBrowser2 axIWebBrowser2,int factor) { object pvaIn = factor; tr. 阅读全文