Pelindo.HtmlToPdf.Core
0.0.0.2
See the version list below for details.
dotnet add package Pelindo.HtmlToPdf.Core --version 0.0.0.2
NuGet\Install-Package Pelindo.HtmlToPdf.Core -Version 0.0.0.2
<PackageReference Include="Pelindo.HtmlToPdf.Core" Version="0.0.0.2" />
paket add Pelindo.HtmlToPdf.Core --version 0.0.0.2
#r "nuget: Pelindo.HtmlToPdf.Core, 0.0.0.2"
// Install Pelindo.HtmlToPdf.Core as a Cake Addin #addin nuget:?package=Pelindo.HtmlToPdf.Core&version=0.0.0.2 // Install Pelindo.HtmlToPdf.Core as a Cake Tool #tool nuget:?package=Pelindo.HtmlToPdf.Core&version=0.0.0.2
Pelindo.HtmlToPdf.Core
Docs are in the making. Should work almost exactly as wkhtmltopdf.exe. Default is "". Download at https://wkhtmltopdf.org/downloads.html
Development version
This is the firt version of Pelindo.HtmlToPdf.Core for Asp.Net Core.
Install with nuget.org:
https://www.nuget.org/packages/Pelindo.HtmlToPdf.Core
Needs configuration
Basic configuration done in Startup.cs:
PelindoHtmlToPdfCore.Setup(env);
Make sure you have a folder with the wkhtmltopdf.exe file accessible by the process running the web app. By default it searches in a folder named "wkhtmltox", If Windos OS use Extension ".exe" And If use Linux OS use Extension "" in the root of the web app. If you need to change that use the optional parameter to the Setup call PelindoHtmlToPdfCore.Setup(env,
"path/relative/to/root",
"extensionFile")
;
If Windows OS Example :
PelindoHtmlToPdfCore.Setup(_hostingEnv.WebRootPath)
;
Note : Copy File "wkhtmltopdf.exe" and "wkhtmltoimage.exe" to "wwwroot" using folder "wkhtmltox". Result path "wwwroot/wkhtmltox/wkhtmltopdf.exe"
If Linux OS Example :
PelindoHtmlToPdfCore.Setup(
"/usr/local",
"bin",
"")
;
Note : Install wkhtmltopdf in your system default path "/user/local/bin/wkhtmltopdf" and "/user/local/bin/wkhtmltoimage"
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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.0
- Microsoft.AspNetCore.Mvc (>= 2.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.