private IHTMLDocument2 doc; private void Form1_Load(object sender, EventArgs e) { webBrowser1.DocumentText = "<html><body></body></html>"; doc = webBrowser1.Document.DomDocument as IHTMLDocument2; doc.designMode = "On"; webBrowser1.Document.ExecCommand("Copy", false, null); webBrowser1.Document.ExecCommand("Paste", false, null); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)