174,485

Downloads

15,498

Downloads of v 1.1.11

138

Average downloads per day

2015-12-14

Last published

Share on Social Networks

NReco.PdfGenerator

1.1.11

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

To install NReco.PdfGenerator, run the following command in the Package Manager Console

Install-Package NReco.PdfGenerator -Version 1.1.11

Release Notes

v.1.1.11 changes:
- fixed batch mode issue (exception because of incorrect file path handling)

v.1.1.10 changes:
- fixed issue with "Exit with code 1 due to network error" workaround for overloads that accept output file path
- added GeneratePdf(html,coverHtml,outputPdfFilePath) overload
- VC++ 2013 runtime libraries used by wkhtmltopdf.exe ( msvcp120.dll, msvcr120.dll ) are embedded as DLL resources to simplify app deployment (now you don't need to install VC++ redistributable package)

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).

Owners

Authors

Vitalii Fedorchenko

Copyright

Copyright 2013-2015 Vitalii Fedorchenko

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
NReco.PdfGenerator 1.1.15 12,218 Thursday, March 30, 2017
NReco.PdfGenerator 1.1.14 6,409 Saturday, February 18, 2017
NReco.PdfGenerator 1.1.12 66,204 Wednesday, February 3, 2016
NReco.PdfGenerator 1.1.11 (this version) 15,498 Monday, December 14, 2015
NReco.PdfGenerator 1.1.10 14,817 Thursday, October 1, 2015
NReco.PdfGenerator 1.1.9 2,499 Saturday, August 29, 2015
NReco.PdfGenerator 1.1.7 7,417 Sunday, July 5, 2015
NReco.PdfGenerator 1.1.6 13,458 Thursday, March 5, 2015
NReco.PdfGenerator 1.1.5 13,753 Friday, February 6, 2015