VOOZH about

URL: https://www.nuget.org/packages/ZingPDF.FromHTML/

⇱ NuGet Gallery | ZingPDF.FromHTML 1.0.58




ZingPDF.FromHTML 1.0.58

dotnet add package ZingPDF.FromHTML --version 1.0.58
 
 
NuGet\Install-Package ZingPDF.FromHTML -Version 1.0.58
 
 
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="ZingPDF.FromHTML" Version="1.0.58" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZingPDF.FromHTML" Version="1.0.58" />
 
Directory.Packages.props
<PackageReference Include="ZingPDF.FromHTML" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZingPDF.FromHTML --version 1.0.58
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ZingPDF.FromHTML, 1.0.58"
 
 
#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.
#:package ZingPDF.FromHTML@1.0.58
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZingPDF.FromHTML&version=1.0.58
 
Install as a Cake Addin
#tool nuget:?package=ZingPDF.FromHTML&version=1.0.58
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 ZingPDF logomark

ZingPDF.FromHTML

ZingPDF.FromHTML provides HTML-to-PDF conversion helpers for ZingPDF using PuppeteerSharp.

Installation

dotnet add package ZingPDF.FromHTML

Quick start

Render an HTML string to a PDF stream:

using ZingPDF.FromHTML;

await using var pdfStream = await Converter.ToPdfAsync("""
<!doctype html>
<html>
 <body>
 <h1>Invoice</h1>
 <p>Rendered through Chromium.</p>
 </body>
</html>
""");

await using var output = File.Create("invoice.pdf");
await pdfStream.CopyToAsync(output);

Render a URL to PDF:

using ZingPDF.FromHTML;

await using var pdfStream = await Converter.ToPdfAsync(
 new Uri("https://example.com/report"),
 new NavigationOptions
 {
 TimeoutExpiration = 60_000,
 WaitUntilFlags = WaitUntil.Networkidle0
 });

await using var output = File.Create("report.pdf");
await pdfStream.CopyToAsync(output);

Main workflows

  • render HTML strings to PDF
  • render URLs to PDF with navigation timeout and wait-state options
  • convert rendered template HTML to PDF through ZingPDF.Templates.LiquidHtml
  • use Chromium-based output alongside the core ZingPDF package

Notes

  • This package depends on ZingPDF.
  • Runtime behaviour depends on the browser automation environment required by PuppeteerSharp.
  • It is best treated as an add-on package with additional deployment requirements beyond the core library.

Licensing

ZingPDF is proprietary software. Review LICENSE.txt and ensure you have an active paid subscription with sufficient seats, or another applicable commercial agreement, before commercial use or commercial bundling.

Evaluation and other non-commercial use are free.

Support and compatibility

See SUPPORT.md in the package root or docs/project/SUPPORT.md in the repository for the current support stance and release-readiness notes.

More information

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ZingPDF.FromHTML:

Package Downloads
ZingPDF.Templates.LiquidHtml

Liquid HTML template rendering for ZingPDF using Fluid and ZingPDF.FromHTML.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.58 119 5/28/2026
1.0.57 116 5/25/2026
1.0.56 116 5/15/2026
1.0.54 117 4/19/2026
1.0.53 103 4/19/2026
1.0.51 97 4/19/2026
1.0.49 108 4/9/2026
1.0.48 100 4/7/2026
1.0.45 107 4/6/2026
1.0.44 110 4/6/2026
1.0.43 113 4/6/2026
1.0.40 101 4/5/2026
1.0.38 101 4/5/2026
1.0.37 94 4/5/2026
1.0.36 100 4/5/2026
1.0.35 105 4/4/2026
1.0.34 105 4/4/2026
1.0.33 103 4/4/2026
1.0.32 101 4/3/2026
1.0.31 106 4/3/2026
Loading failed