Info
Version: | 1.2.1 |
Author(s): | Vitalii Fedorchenko |
Last Update: | Sunday, January 8, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://www.nrecosite.com/pdf_generator_net.aspx |
NuGet Url: | https://www.nuget.org/packages/NReco.PdfGenerator.LT |
Install
Install-Package NReco.PdfGenerator.LT
dotnet add package NReco.PdfGenerator.LT
paket add NReco.PdfGenerator.LT
NReco.PdfGenerator.LT Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 2.0
No dependencies.
No dependencies.
- NETStandard.Library(>= 1.6.1)
- System.Diagnostics.Process(>= 4.3.0)
- System.Reflection(>= 4.3.0)
- System.Reflection.Primitives(>= 4.3.0)
- System.Security.Cryptography.Algorithms(>= 4.3.0)
- System.Security.Cryptography.Cng(>= 4.3.0)
- System.Security.Cryptography.Csp(>= 4.3.0)
- System.Threading.Thread(>= 4.3.0)
Tags
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.