//改变选中区域的字体大小;
document.execCommand("FontSize","false",sSize|iSize)
该命令中的sSize和iSize是什么意思?好像我只能设置document.execCommand("FontSize","false",1)(只能设置1~7才有效)
我怎么设置才可以是我想要的按照%来设置,或者16dt,或者是length等?
代码如下:
Dim wb1 As WinForm.WebBrowser = e.Form.Controls("WebBrowser1")
Dim sywb1 As System.Windows.Forms.WebBrowser = e.Form.Controls("WebBrowser1").BaseControl
Dim FontSizecb1 As WinForm.ComboBox = e.Form.Controls("ComboBox2")
sywb1.Document.ExecCommand("FontSize.Type","true","%")