ZingPDF.FromHTML
1.0.48
dotnet add package ZingPDF.FromHTML --version 1.0.48
NuGet\Install-Package ZingPDF.FromHTML -Version 1.0.48
<PackageReference Include="ZingPDF.FromHTML" Version="1.0.48" />
<PackageVersion Include="ZingPDF.FromHTML" Version="1.0.48" />
<PackageReference Include="ZingPDF.FromHTML" />
paket add ZingPDF.FromHTML --version 1.0.48
#r "nuget: ZingPDF.FromHTML, 1.0.48"
#:package ZingPDF.FromHTML@1.0.48
#addin nuget:?package=ZingPDF.FromHTML&version=1.0.48
#tool nuget:?package=ZingPDF.FromHTML&version=1.0.48
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"));
await using var output = File.Create("report.pdf");
await pdfStream.CopyToAsync(output);
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.
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
- core docs: zingpdf.dev/docs.html
- guides: zingpdf.dev/guides.html
- capability matrix: zingpdf.dev/capabilities.html
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- PuppeteerSharp (>= 20.2.2)
- ZingPDF (>= 1.0.48)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.48 | 32 | 4/7/2026 |
| 1.0.45 | 83 | 4/6/2026 |
| 1.0.44 | 82 | 4/6/2026 |
| 1.0.43 | 87 | 4/6/2026 |
| 1.0.40 | 79 | 4/5/2026 |
| 1.0.38 | 79 | 4/5/2026 |
| 1.0.37 | 72 | 4/5/2026 |
| 1.0.36 | 77 | 4/5/2026 |
| 1.0.35 | 83 | 4/4/2026 |
| 1.0.34 | 80 | 4/4/2026 |
| 1.0.33 | 77 | 4/4/2026 |
| 1.0.32 | 78 | 4/3/2026 |
| 1.0.31 | 82 | 4/3/2026 |
| 1.0.30 | 80 | 4/3/2026 |
| 1.0.29 | 90 | 4/3/2026 |
| 1.0.28 | 79 | 4/3/2026 |
| 1.0.27 | 77 | 4/3/2026 |
| 1.0.26 | 89 | 4/2/2026 |
| 1.0.25 | 80 | 4/1/2026 |
| 1.0.24 | 75 | 4/1/2026 |