Sign in Sign up
nuget

NReco.PdfGenerator

HTML to PDF converter for C#/.NET (WkHtmlToPdf wrapper). Generates pretty-looking PDF by HTML template or web page URL. Web page is rendered using QtWebKit engine and PDF result is very similar to a web browser view. Engine supports page header/footer, page numbering, custom fonts, javascript execution. NReco.PdfGenerator nuget can be used for free in non-SaaS apps that have only one single-server production deployment. This nuget package embeds wkhtmltopdf binaries (for Windows; they're extracted on first use automatically - you don't need to deploy wkhtmltopdf separately) and can be used only on Windows. For cross-platform deployments NReco.PdfGenerator.LT nuget should be used instead. var htmlContent = String.Format("Hello world: {0}",DateTime.Now); var htmlToPdf = new NReco.PdfGenerator.HtmlToPdfConverter(); var pdfBytes = htmlToPdf.GeneratePdf(htmlContent); More info (PdfGenerator online demo, examples): https://www.nrecosite.com/pdf_generator_net.aspx

nuget View on Nuget

Activity

Latest release
3y ago
Total releases
11
Cadence
~2 months
Last 12 months
0

Details

First release
Feb 06, 2015
Releases
Version Released
1.2.1 patch
1.2.0 minor
1.1.15 patch
1.1.14 patch
1.1.12 patch
1.1.11 patch
1.1.10 patch
1.1.9 patch
1.1.7 patch
1.1.6 patch
1.1.5 initial