开发者

Copy visible page of a WebBrowser

开发者 https://www.devze.com 2022-12-24 04:42 出处:网络
How can I copy the visible page of a WebBrowser control? Not the HTML, just the text 开发者_运维知识库displayed onscreen.I\'m assuming that you have the full HTML to draw from? The best way would prob

How can I copy the visible page of a WebBrowser control? Not the HTML, just the text 开发者_运维知识库displayed onscreen.


I'm assuming that you have the full HTML to draw from? The best way would probably be to use regular expressions to remove any html-style text.


using innerText property will remover all tags

0

精彩评论

暂无评论...
验证码 换一张
取 消