日期:2014-05-18 浏览次数:20809 次
IHTMLDocument2 document = (IHTMLDocument2)webBrowser1.Document.DomDocument; IHTMLTxtRange htmlElem = (IHTMLTxtRange)document.selection.createRange(); string s = htmlElem.InnerText;