EVO 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 EvoPdf.Next.HtmlToPdf package provides a newer and highly accurate rendering engine designed for modern HTML, CSS, and JavaScript content.
The full EvoPdf.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:
using EvoPdf;
HtmlToPdfConverter htmlToPdfConverter = new HtmlToPdfConverter();
byte[] outPdfBuffer = htmlToPdfConverter.ConvertUrl(url);The resulting memory buffer can be saved to a file or, when the library is used in ASP.NET, it can be sent as a response to a browser.