110,534
社区成员
发帖
与我相关
我的任务
分享
HTMLDocument doc = (HTMLDocument)webBrowser1.Document.DomDocument;
HTMLBody body = (HTMLBody)doc.body;
IHTMLControlRange range = body.createControlRange();
range.add((IHTMLControlElement)webBrowser1.Document.Images[0].DomElement);
range.execCommand("copy", false, null);
Image image = Clipboard.GetImage();