NReco.PdfGenerator 1.1.9

HTML-to-PDF converter component for C# (.NET) based on WkHtmlToPdf utility. Generates pretty-looking PDF documents from .NET application by HTML-layout.

Install-Package NReco.PdfGenerator -Version 1.1.9
dotnet add package NReco.PdfGenerator --version 1.1.9
paket add NReco.PdfGenerator --version 1.1.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v.1.1.9 changes:
- hotfix for wkhtmltopdf "temp files not removed" issue: when stdin/stdout is used wkhtmltopdf creates temp files anyway and it doesn't remove output PDF temp file. To workaround this issue PdfGenerator will use own temp files for this case.

v.1.1.8 changes:
- added batch mode (BeginBatch/EndBatch): reuse the same wkhtmltopdf.exe process for processing several HTML templates (20%-30% faster). This feature requires commercial license key.
- some code refactoring for better maintainability
- added workaround for "Exit with code 1 due to network error" wkhtmltopdf issue: when "--load-error-handling" or "--load-media-error-handling" set to "ignore" (or "skip") wkhtmltopdf generates PDF output but process is exited with code = 1 and as result WkHtmlToPdfException is thrown. Now this case is handled correctly (exception is not thrown if PDF is generated).
- now NReco.PdfGenerator.dll is a signed (strongly named) assembly

v.1.1.7 changes:
- added GeneratePdfFromFiles overload that accepts several HTML files for generating one resulting PDF
- added TempFilesPath property that allows to set custom location for temp files (useful in cases if TEMP folder is not accessible for write by ASP.NET process).

v.1.1.6 changes:
- fixed header/footer issue (ignored) when TOC/Cover options are enabled
- WkHtmlToPdf tool upgraded to version 0.12.2.1 (released January 19, 2015). NOTE: this version of wkhtmltopdf requires Visual C++ 2013 runtime libraries installed (Redistributable package for VS 2013 - x86 version).

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.1.15 32,352 3/30/2017
1.1.14 9,015 2/18/2017
1.1.12 79,144 2/3/2016
1.1.11 18,617 12/14/2015
1.1.10 16,900 10/1/2015
1.1.9 (current version) 2,593 8/29/2015
1.1.7 8,782 7/5/2015
1.1.6 14,762 3/5/2015
1.1.5 14,085 2/6/2015
Show less