NReco.PdfGenerator 1.2.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Framework 4.5
dotnet add package NReco.PdfGenerator --version 1.2.0
NuGet\Install-Package NReco.PdfGenerator -Version 1.2.0
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.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.PdfGenerator --version 1.2.0
#r "nuget: NReco.PdfGenerator, 1.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.2.0

// Install NReco.PdfGenerator as a Cake Tool
#tool nuget:?package=NReco.PdfGenerator&version=1.2.0

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 non-SaaS projects with only one single-server deployment.

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

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (6)

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

Package Downloads

Core Framework Library




Basic Library




Gerador de boleotos

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.0 326,689 6/13/2020
1.1.15 1,762,582 3/30/2017
1.1.14 75,900 2/18/2017
1.1.12 430,135 2/3/2016
1.1.11 47,656 12/14/2015
1.1.10 150,056 10/1/2015
1.1.9 6,611 8/29/2015
1.1.7 20,494 7/5/2015
1.1.6 28,521 3/5/2015
1.1.5 20,237 2/6/2015

For .NET Core / another wkhtmltopdf version (or build) use:

More info (PdfGenerator online demo, examples):

v.1.2.0 changes:
- wkhtmltopdf upgraded to 0.12.6 (released on 2020-Jun-11)
- framework target changed to net45 (net20 is not supported any more)

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