AdvancedHTMLToPdfConverter 1.0.25
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AdvancedHTMLToPdfConverter --version 1.0.25
NuGet\Install-Package AdvancedHTMLToPdfConverter -Version 1.0.25
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AdvancedHTMLToPdfConverter" Version="1.0.25" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AdvancedHTMLToPdfConverter --version 1.0.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AdvancedHTMLToPdfConverter, 1.0.25"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AdvancedHTMLToPdfConverter as a Cake Addin #addin nuget:?package=AdvancedHTMLToPdfConverter&version=1.0.25 // Install AdvancedHTMLToPdfConverter as a Cake Tool #tool nuget:?package=AdvancedHTMLToPdfConverter&version=1.0.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
The AdvancedHTMLToPDF is tool which permits one to create a pdf from html string content. It produces a pdf like rendered with pdf engine (as like html template provided).
Technology involved:
- WkhtmlToPdf a command line tool used to convert html to pdf
- C# wrapper class built around above tool to handle multiple requests simultaneously with boosted performance.
- Supports .net core and .net standard applications.
Features:
- Simple to use.
- Capable of handling large number of requests simultaneously.
- Creates Table of Contents with deep linking functionality enabled.
- Adds deep linking from each page to index page.
- Configurable background image for TOC.
- Enables clicks on external links from pdf page.
- Display TOC with grouping by category enable and which is configurable.
How to use: //To set configs for index and pdf pages AdvancedHTMLToPdfConverter.PdfGeneratorSettings config = new AdvancedHTMLToPdfConverter.PdfGeneratorSettings();
config.HtmlContent = htmlContentList.ToArray(); //Html contents
config.TOCHeading = "Table of Contents Heading";
config.IndexGroupingParams = marketUnits; //optional to group TOC by given category
config.IndexBackgroundImage = img //optional to set background image for index page
var pdfInBytes= AdvancedHTMLToPdfConverter.AdvancedHTMLToPdfConverter.ConvertToPDFAdvanced(config);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- PdfConverterCore (>= 1.0.0)
- System.Drawing.Common (>= 4.0.2)
-
net5.0
- PdfConverterCore (>= 1.0.0)
- System.Drawing.Common (>= 4.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.