You are here:   Blogs
Register   |  Login

Convert Html to RTF using Nasosoft.Documents.Transform

Minimize
Location: Blogs.NET Programming    
Posted by: host 12/2/2010 8:08 PM

Nasosoft.Documents.Transform supports converting HTML to RTF file. You can easily load a HTML document and transfer it into RTF file format in C# without understanding the RTF format details. For example:

[C#]
           //create a HtmlToRtfTransform
            using (HtmlToRtfTransform c = new HtmlToRtfTransform())
            {
                 c.Load("SimpleTest.htm"); //load the html file
                 c.Transform("SimpleTest.rtf"));//transform to rtf file
            }

 

Permalink |  Trackback