The main functionality of the library is to convert HTML documents to PDF. But the library does much more than this. You can also convert HTML to raster images or HTML to SVG using the appropriate interfaces and you can edit, merge or split existing PDF documents.
It takes only one 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);
Imports EvoPdf Dim htmlToPdfConverter As New HtmlToPdfConverter() Dim outPdfBuffer() As Byte = 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.