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");
        }
                    

Если вам нужен пример кода или у вас есть вопрос: напишите нам по адресу support@sautinsoft.ru или спросите в онлайн-чате (правый нижний угол этой страницы) или используйте форму ниже:



Вопросы и предложения всегда приветствуются!

Мы разрабатываем компоненты .Net с 2002 года. Мы знаем форматы PDF, DOCX, RTF, HTML, XLSX и Images. Если вам нужна помощь в создании, изменении или преобразовании документов в различных форматах, мы можем вам помочь. Мы напишем для вас любой пример кода абсолютно бесплатно.