NReco.PdfGenerator (nuget): 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
Keywords: PDF|Html|WkHtmlToPdf|html-to-pdf|html2pdf|html-to-pdf-converter|pdf-generation|c#|wrapper|PdfGenerator|Converter|netstandard|netcore|net6|net7