Tool for .NET to convert RTF to PDF without MS Office Automation


Article from our customer

Our team of developers tasked to create a web-service which required a tool to convert RTF files into PDF under .NET without using MS Office Automation. Google search gave a lot of results, but most of components require MS Word or Adobe products, either the price was not acceptable for us. Some search results followed to Sautinsoft web-site and their PDF Metamorphosis .Net. Guys from online support helped us to create testing project with speed of F1 🙂 ! Below there is a piece of code to convert RTF to PDF without using MS Word:


            SautinSoft.PdfMetamorphosis p = new SautinSoft.PdfMetamorphosis();
 string[] rtfFiles = System.IO.Directory.GetFiles(@"c:\folder with pdfs\", ".rtf");
 foreach (string rtfFile in rtfFiles)
        {
           p.RtfToPdfConvertFile(rtfFile, Path.GetFileNameWithoutExtension(rtfFile) + ".pdf");
        }
                    

If you need a new code example or have a question: email us at support@sautinsoft.com or ask at Online Chat (right-bottom corner of this page) or use the Form below:



Questions and suggestions from you are always welcome!

We are developing .Net components since 2002. We know PDF, DOCX, RTF, HTML, XLSX and Images formats. If you need any assistance with creating, modifying or converting documents in various formats, we can help you. We will write any code example for you absolutely free.