EvoPdf Classic · RTF to PDF

EVO RTF to PDF Converter

The RTF to PDF converter allows you to easily convert RTF strings and documents to PDF with just a few lines of code. The RTF to PDF Converter library for .NET can be linked into any .NET application, either ASP.NET web sites or desktop applications, to add rtf to pdf conversion capabilities to your application.

Classic v14.0 · Windows, .NET Framework 2.0+ and .NET 6–10 · Evaluate without registration — demo mode by default (watermarked) · Licensed with the HTML to PDF Converter license or EVO PDF Toolkit

$dotnet add package EvoPdf.HtmlToPdf

Windows · .NET Framework 2.0+ and .NET 6–10 (.NET Standard 2.0) · the EvoPdf metapackage bundles the Classic HTML to PDF library

Program.csC#
using EvoPdf;

var converter = new PdfConverter();
byte[] pdf = converter.GetPdfBytesFromRtfString(rtf);
File.WriteAllBytes("document.pdf", pdf);
Classic API: EvoPdf namespace, one converter class, synchronous calls. API reference →
  • Windows 10 / 11 / Server 2016–2025
  • .NET Framework 2.0 – 4.8.1
  • .NET 6 → 10, .NET Standard 2.0
  • Azure Cloud Services & Virtual Machines
  • Web, console and desktop applications
Features

What the RTF to PDF component does

  • Easy integration, no installation or setup is necessary on the server
  • Delivered as a single strong named .NET assembly (can be installed in GAC)
  • Can be deployed on the server by simple copy (xcopy deployment support)
  • Can be used from ASP.NET, Windows Forms, WPF, Web Service or Console applications
  • The same assembly can be used both on 32-bit and 64-bit Windows servers
  • Convert RTF strings to PDF documents
  • Convert RTF files to PDF documents
In detail

EVO RTF to PDF Converter — how it works

With the RTF to PDF Converter library for .NET you can easily convert RTF strings and RTF files to PDF documents. You can convert the RTF document to a PDF document in a memory buffer or to a PDF file. The integration is extremely easy and no other third party tools are necessary to be installed.

The library is distributed as a simple .NET assembly that you reference in your applications. Samples and documentation are available in the downloadable software package.

At a glance

Component
EvoPdf Classic · RTF to PDF
NuGet package
EvoPdf.HtmlToPdf
Namespace
EvoPdf
Main class
PdfConverter
Runs on
Windows · .NET Framework 2.0+ · .NET 6–10 (.NET Standard 2.0)
Version
Classic v14.0
License
HTML to PDF Converter license or EVO PDF Toolkit; evaluation without registration
Documentation →
Sample.csC#
    protected void btnConvert_Click(object sender, EventArgs e)
    {
        PdfConverter pdfConverter = new PdfConverter();

        pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
        pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
        pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Normal;

       pdfConverter.PdfDocumentOptions.ShowFooter = false;
       pdfConverter.PdfDocumentOptions.ShowHeader = false;

       byte[] downloadBytes = pdfConverter.GetPdfBytesFromRtfString(MyRTFString);

       System.Web.HttpResponse response = System.Web.HttpContext.Current.Response;
       response.Clear();
       response.AddHeader("Content-Type", "binary/octet-stream");
       response.AddHeader(
                        "Content-Disposition",
            "attachment; filename=" + "Rendered.pdf" + "; size=" 
                + downloadBytes.Length.ToString());
       response.Flush();
       response.BinaryWrite(downloadBytes);
       response.Flush();
       response.End();
    }
Licensing

Perpetual licenses, updates and support included for a year

The HTML to PDF Converter license (450 USD Deployment / 1200 USD Company) covers the Classic and the Next converter; the EVO PDF Toolkit (650 / 1400 USD) covers every component on this site, Classic tools included. The Company License includes redistribution.