Pelindo.HtmlToPdf.Core 0.0.0.3

Generate Html to PDF Using WkhtmlToPdf Engine, work in Windows OS And Linux OS. Dynamic Path and Easy to use...

Install-Package Pelindo.HtmlToPdf.Core -Version 0.0.0.3
dotnet add package Pelindo.HtmlToPdf.Core --version 0.0.0.3
<PackageReference Include="Pelindo.HtmlToPdf.Core" Version="0.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pelindo.HtmlToPdf.Core --version 0.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Pelindo.HtmlToPdf.Core, 0.0.0.3"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

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"

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"

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.0.3 658 5/24/2018
0.0.0.2 437 5/24/2018
0.0.0.1 458 5/24/2018