NReco HTML-to-PDF Generator for .NET 1.1.15

features convert HTML to PDF in C#
Create PDF from HTML page with one line of C# code. Full support of complex layout, CSS, images/svg, custom fonts, javascript code.
Precise rendering: in 99% cases PDF result is identical to the web browser view: based on WkHtmlToPdf tool that uses WebKit browser engine.
Simplest way to generate PDF from .NET applications (ASP.NET, ASP.NET MVC, WebForms, .NET Core, VB.NET):
create PDF from HTML string, file or URL
convert ASPX to PDF, MVC view to PDF
merge several HTML pages (files, URLs) into one resulting PDF

PDF options:
page orientation, custom page size, page margins
HTML template for page header/footer, page numbering, cover page
automatic table of contents generation by headings (H1/H2/H3)
Stable and time-proven solution for C# HTML to PDF conversion: all you need is one .NET assembly (wkhtmltopdf binaries are embedded into DLL).
Has .NET Core compatible version: NReco.PdfGenerator.LT.
PdfGenerator C# examples package:
DataSetReport: generates PDF with data table from DataSet using XSLT
DemoMvc: generate PDF from ASP.NET MVC views. Illustrates: page breaks, multi-page tables, cover page and table-of-contents, custom header/footer with page numbering
DemoWebForms: generate PDF from textarea (online demo)
EncryptPdf: how to generate secured (password protected) PDF
MergePdf: produce several PDFs and merge whem into one file with iTextSharp
PdfFromFiles: generate one PDF from several HTML documents (files, URLs)
WatermarkPdf: how to generate PDF and watermark it with background image or text (watermarked PDF example)
BatchMode: optimized generation of several PDF documents in the batch mode

v.1.1.15 changes: added GeneratePdfFromFiles overload that accepts individual options (like header/footer) for each input. This function is available only for commercial users.


generate, several, custom, convert, browser, footer, files, merge, header, table, NReco, PdfGenerator, create, WebForms, applications, documents, pages, options, cover, resulting, generate, several, browser, convert, custom, files, footer, NReco, table, header, merge, jvascript, options, support, resulting, complex, layout, pages, Create, numbering