NReco.PdfGenerator.LT 1.1.17

HTML to PDF Generator

HTML to PDF converter for .NET Framework / .NET Core (WkHtmlToPdf wrapper). Generates pretty-looking PDF by HTML template or web page URL. Supports page header/footer, page numbering, custom fonts, javascript execution.

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

Release Notes

PdfGenerator.LT build doesn't embed wkhtmltopdf binaries and can be used in non-windows environments (Linux, OS-X) from Mono or .NET Core projects. Appropriate wkhtmltopdf binaries should be installed/deployed with your application.
How to use:

var htmlToPdfConv = new NReco.PdfGenerator.HtmlToPdfConverter();
htmlToPdfConv.License.SetLicenseKey("your_id", "your_license_key");
// for Linux/OS-X: "wkhtmltopdf"
htmlToPdfConv.WkHtmlToPdfExeName = "wkhtmltopdf.exe";
// path where wkhtmltopdf binaries are installed/deployed
htmlToPdfConv.PdfToolPath = "<path_to_wkhtmltopdf_folder>";
htmlToPdfConv.GeneratePdfFromFile("http://www.google.com/", null, "google.pdf");

Please contact support@nrecosite.com if you want to get demo key for evaluation/testing purposes.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.17 16,610 11/23/2018
1.1.15 36,343 3/30/2017
1.1.14 5,000 9/9/2016
1.1.13 777 8/4/2016