Skip to main content
NReco.PdfGenerator.LT package icon

NReco.PdfGenerator.LT

HTML to PDF converter for .NET Framework / .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. This nuget package doesn't include wkhtmltopdf binaries and suitable for cross-platform deployments (Windows, Linux, Mac-OS, Docker). NOTE: LT nuget is not available for free users. Please contact [email protected] if you want to get a demo key for evaluation/testing purposes. var htmlToPdfConv = new NReco.PdfGenerator.HtmlToPdfConverter(); htmlToPdfConv.License.SetLicenseKey("your_id", "your_license_key"); htmlToPdfConv.WkHtmlToPdfExeName = "wkhtmltopdf.exe"; // for Linux/OS-X: "wkhtmltopdf" htmlToPdfConv.PdfToolPath = "<path_to_wkhtmltopdf_folder>"; // path where wkhtmltopdf binaries are installed/deployed htmlToPdfConv.GeneratePdfFromFile("http://www.google.com", null, "google.pdf"); More info (PdfGenerator online demo, examples): https://www.nrecosite.com/pdf_generator_net.aspx

Total Downloads
2.1M
2,073,496
Published
Jan 8, 2023
Latest stable version

Install

.NET CLI
dotnet add package NReco.PdfGenerator.LT --version 1.2.1
Package Manager Console
Install-Package NReco.PdfGenerator.LT -Version 1.2.1
PackageReference
<PackageReference Include="NReco.PdfGenerator.LT" Version="1.2.1" />

Frameworks

.NETFramework4.5 .NETStandard2.0

Dependencies

No declared dependencies.

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.