Create a WebBrowser. Download it with the html content. Select all and copy them. Paste into richtextbox. Then you have rtf
string html="...."; // html content RichTextBox rtbTemp= new RichTextBox(); WebBrowser wb = new WebBrowser(); wb.Navigate("about:blank"); wb.Document.Write(html); wb.Document.ExecCommand("SelectAll", false, null); wb.Document.ExecCommand("Copy", false, null); rtbTemp.SelectAll(); rtbTemp.Paste();
RtbTemp.RTF now has RTF converted from HTML.
Jerry source share