dotnet add package NReco.PdfGenerator.LT --version 1.2.1
NuGet\Install-Package NReco.PdfGenerator.LT -Version 1.2.1
<PackageReference Include="NReco.PdfGenerator.LT" Version="1.2.1" />
paket add NReco.PdfGenerator.LT --version 1.2.1
#r "nuget: NReco.PdfGenerator.LT, 1.2.1"
// Install NReco.PdfGenerator.LT as a Cake Addin #addin nuget:?package=NReco.PdfGenerator.LT&version=1.2.1 // Install NReco.PdfGenerator.LT as a Cake Tool #tool nuget:?package=NReco.PdfGenerator.LT&version=1.2.1
NOTE: LT nuget is not available for free users. Please contact firstname.lastname@example.org if you want to get a demo key for evaluation/testing purposes.
var htmlToPdfConv = new NReco.PdfGenerator.HtmlToPdfConverter();
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
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NReco.PdfGenerator.LT:
Geracao de Boletos
This package is not used by any popular GitHub repositories.
NReco.PdfGenerator.LT doesn't include wkhtmltopdf binaries and therefore suitable for non-Windows deployments (Linux, OS-X) in .NET Core/NET6/NET7 projects. Appropriate wkhtmltopdf binaries should be installed/deployed with your application separately.
- added more options to PageSize enum (A0-A9, B0-B9, Legal)
- added static License.SetLicenseKey to set a license key globally (for all HtmlToPdfConverter instances)