NReco.PdfGenerator.LT 1.1.15

HTML-to-PDF converter for .NET / Mono / .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.15
dotnet add package NReco.PdfGenerator.LT --version 1.1.15
paket add NReco.PdfGenerator.LT --version 1.1.15
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");

More info (online demo, usage examples): https://www.nrecosite.com/pdf_generator_net.aspx
Please contact support@nrecosite.com if you want to get a demo key for evaluation/testing purposes.

Version History

Version Downloads Last updated
1.1.15 (current version) 2,384 3/30/2017
1.1.14 4,359 9/9/2016
1.1.13 369 8/4/2016