Winnovative HTML to PDF Converter for .NET is a library that can be easily integrated in any type of .NET applications to convert web pages, HTML strings and streams to PDF or to image. The converter has support for HTML5, CSS3, SVG, Canvas, Web Fonts and JavaScript. It combines the powerful printer friendly PDF format with the flexibility of the HTML format into a modern tool for creating nicely formatted and easily maintainable PDF reports and documents.
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 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.