Winnovative HTML to PDF Converter for .NET Overview

Winnovative HTML to PDF Library for .NET uses the Classic rendering engine to convert HTML to PDF, images, and SVG in applications targeting .NET Framework, .NET Core and .NET Standard on Windows platforms.

The main functionality of the library is to convert HTML documents to PDF, but it offers much more than that. You can also convert HTML to raster images or SVG using the appropriate interfaces, and you can edit, merge, or split existing PDF documents.

For applications that need to run on both Windows and Linux platforms, the Winnovative.Pdf.Next.HtmlToPdf package provides a newer and highly accurate rendering engine designed for modern HTML, CSS, and JavaScript content.

The full Winnovative.Pdf.Next package allows you to create, edit, and merge PDF documents, convert HTML to PDF or images, convert Word, Excel, RTF, and Markdown documents to PDF, and convert PDF documents to text or images.

It takes only a few lines of code to convert a web page from a given URL to a PDF document:

Code Sample - Minimal Code to Convert a HTML Document to PDF

C#
using Winnovative;
HtmlToPdfConverter htmlToPdfConverter = new HtmlToPdfConverter();
byte[] outPdfBuffer = htmlToPdfConverter.ConvertUrl(url);

The resulted memory buffer can be saved to a file or, when the library is used in ASP.NET, it can be sent as response to a browser.

See Also