NReco.PdfGenerator 1.1.15

HTML-to-PDF converter for C#/.NET (WkHtmlToPdf wrapper). Generates pretty-looking PDF by HTML template or web page URL. Web page is rendered with Qt WebKit and PDF result is very similar to web browser view. Engine supports page header/footer, page numbering, custom fonts, javascript execution.
PdfGenerator can be used for free in a single-deployment projects.

This package embeds wkhtmltopdf binaries (x86 windows) and they're extracted on first use - you don't need to deploy wkhtmltopdf separately.

Install-Package NReco.PdfGenerator -Version 1.1.15
dotnet add package NReco.PdfGenerator --version 1.1.15
<PackageReference Include="NReco.PdfGenerator" Version="1.1.15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.PdfGenerator --version 1.1.15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

For Mono / .NET Core / custom wkhtmltopdf build use:
NReco.PdfGenerator.LT

More info (PdfGenerator online demo, examples): https://www.nrecosite.com/pdf_generator_net.aspx

v.1.1.15 changes:
- added GeneratePdfFromFiles overload that accepts individual options (like header/footer) for each input

v.1.1.14 changes:
- WkHtmlToPdf tool upgraded to version 0.12.4 (released 2016-Nov-22)
- all necessary VC++ Runtime 2015  dlls are included
- now for ASP.NET apps wkhtmltopdf binaries are extracted to App_Data\wkhtmltopdf by default

v.1.1.12 changes:
- WkHtmlToPdf tool upgraded to version 0.12.3.1 (released 2016-Jan-30).
- fixed bug in batch mode (null reference exception for large HTML input)

Dependencies

This package has no dependencies.

Showing the top 4 GitHub repositories that depend on NReco.PdfGenerator:

Repository Stars
smartstore/SmartStoreNET
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
mike-ward/Markdown-Edit
My attempt at a markdown editor for windows
BoletoNet/boletonet
Boleto.Net is a library developed for use in Brazil, given it has been programmed with Brazilian retail legislation and business rules for bank registered billing integration.
BoletoNet/boleto2net
Nova versão do Boleto.Net

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.1.15 915,332 3/30/2017
1.1.14 39,705 2/18/2017
1.1.12 232,438 2/3/2016
1.1.11 34,793 12/14/2015
1.1.10 69,883 10/1/2015
1.1.9 4,751 8/29/2015
1.1.7 16,238 7/5/2015
1.1.6 20,253 3/5/2015
1.1.5 16,564 2/6/2015