NReco.PdfGenerator 1.1.15

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package NReco.PdfGenerator --version 1.1.15                
NuGet\Install-Package NReco.PdfGenerator -Version 1.1.15                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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                
#r "nuget: NReco.PdfGenerator, 1.1.15"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NReco.PdfGenerator as a Cake Addin
#addin nuget:?package=NReco.PdfGenerator&version=1.1.15

// Install NReco.PdfGenerator as a Cake Tool
#tool nuget:?package=NReco.PdfGenerator&version=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.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on NReco.PdfGenerator:

Package Downloads

Package Description


Core Framework Library


TuanZi Framework Non-Business WebAPI Implementation, encapsulates WebAPI implementation for non-business modules such as authentication, permissions, system, messages, etc.





GitHub repositories (4)

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

Repository Stars
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
My attempt at a markdown editor for windows
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.
Nova versão do Boleto.Net
Version Downloads Last updated
1.2.1 322,014 1/8/2023
1.2.0 720,912 6/13/2020
1.1.15 2,216,442 3/30/2017
1.1.14 92,786 2/18/2017
1.1.12 556,360 2/3/2016
1.1.11 61,882 12/14/2015
1.1.10 177,218 10/1/2015
1.1.9 11,109 8/29/2015
1.1.7 26,072 7/5/2015
1.1.6 34,934 3/5/2015
1.1.5 24,980 2/6/2015

For Mono / .NET Core / custom wkhtmltopdf build use:

More info (PdfGenerator online demo, examples):

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 (released 2016-Jan-30).
- fixed bug in batch mode (null reference exception for large HTML input)