ZingPDF 1.0.54
dotnet add package ZingPDF --version 1.0.54
NuGet\Install-Package ZingPDF -Version 1.0.54
<PackageReference Include="ZingPDF" Version="1.0.54" />
<PackageVersion Include="ZingPDF" Version="1.0.54" />
<PackageReference Include="ZingPDF" />
paket add ZingPDF --version 1.0.54
#r "nuget: ZingPDF, 1.0.54"
#:package ZingPDF@1.0.54
#addin nuget:?package=ZingPDF&version=1.0.54
#tool nuget:?package=ZingPDF&version=1.0.54
ZingPDF
ZingPDF is a proprietary .NET 8 PDF library for loading, creating, editing, signing, redacting, and saving PDFs in C#.
It covers the PDF jobs many applications need first: fluent PDF authoring, existing-PDF page editing, text extraction, form creation and completion, signing, encryption, redaction, metadata updates, and rewritten saves without prior incremental history.
Installation
dotnet add package ZingPDF
Quick start
Create a new PDF with the fluent API:
using ZingPDF;
using ZingPDF.Graphics;
await Pdf.New()
.Page(page => page
.Size(595, 842)
.Text(text => text
.Value("Hello from ZingPDF")
.HelveticaBold()
.FontSize(24)
.At(48, 780))
.Rectangle(box => box
.At(48, 720)
.Size(220, 48)
.Fill(RGBColour.PrimaryBlue)))
.SaveAsync(File.Create("hello.pdf"));
Edit an existing PDF:
using var input = File.OpenRead("input.pdf");
using var output = File.Create("edited.pdf");
using var pdf = Pdf.Load(input);
await pdf.Pages(pages => pages
.Page(1, page => page
.Text(text => text
.Value("Approved")
.HelveticaBold()
.FontSize(18)
.At(48, 780))))
.SaveAsync(output);
Create a blank PDF with the standard page API:
using ZingPDF;
using ZingPDF.Fonts;
using ZingPDF.Graphics;
using ZingPDF.Syntax.CommonDataStructures;
using var pdf = Pdf.Create();
var page = await pdf.GetPageAsync(1);
var font = await pdf.RegisterStandardFontAsync(StandardPdfFonts.Helvetica);
await page.AddTextAsync(
"Hello from ZingPDF",
Rectangle.FromDimensions(320, 72),
font,
18,
RGBColour.Black);
await pdf.SaveAsync(File.Create("hello-standard.pdf"));
Create and fill a PDF form:
using ZingPDF.Elements.Forms.FieldTypes.Text;
using ZingPDF.Syntax.CommonDataStructures;
using var pdf = Pdf.Create();
var page = await pdf.GetPageAsync(1);
var form = await pdf.GetOrCreateFormAsync();
await form.AddTextFieldAsync(new TextFormFieldCreationOptions
{
Name = "Customer.Name",
Page = page,
Bounds = Rectangle.FromCoordinates(
new Coordinate(48, 720),
new Coordinate(280, 752))
});
var nameField = await form.GetFieldAsync<TextFormField>("Customer.Name");
await nameField.SetValueAsync("Ada Lovelace");
await pdf.SaveAsync(File.Create("form-created-and-filled.pdf"));
Redact sensitive text and save rewritten output:
using var input = File.OpenRead("sensitive.pdf");
using var output = File.Create("redacted.pdf");
using var pdf = Pdf.Load(input);
var plan = await pdf.RedactionAsync();
await plan.MarkTextAsync("Secret");
await plan.ApplyAsync(new PdfRedactionOptions
{
OverlayText = "REDACTED"
});
await pdf.SaveAsync(output);
Sign a visible signature field:
using System.Security.Cryptography.X509Certificates;
using ZingPDF.Elements.Forms.FieldTypes.Signature;
using var certificate = new X509Certificate2("signing.pfx", "password");
using var input = File.OpenRead("contract.pdf");
using var output = File.Create("contract-signed.pdf");
using var pdf = Pdf.Load(input);
var form = await pdf.GetFormAsync();
var signatureField = await form.GetFieldAsync<SignatureFormField>("Approval.Signature");
await signatureField.SignAsync(certificate, new PdfSignatureOptions
{
Name = "Ada Lovelace",
Reason = "Approved"
});
await pdf.SaveAsync(output);
Main workflows
- create new PDFs with
Pdf.New()orPdf.Create() - edit existing PDFs with
pdf.Pages(...) - append, insert, delete, export, merge, or split pages
- add text, images, vector drawing, and watermarks to pages
- register standard PDF fonts and embedded TrueType fonts
- create, fill, flatten, and sign AcroForm fields
- read and update metadata
- extract text from full documents or individual pages
- redact exact text matches or explicit regions with rewritten-file output
- compress output and tune image quality
- decrypt, encrypt, restrict permissions, and rewrite PDFs without prior incremental history
Documentation
- repository: github.com/ZingPDF/ZingPDF
- docs: zingpdf.dev/docs.html
- guides: zingpdf.dev/guides.html
- capability matrix: zingpdf.dev/capabilities.html
- performance: zingpdf.dev/performance.html
- API reference: zingpdf.dev/api/
- examples folder: github.com/ZingPDF/ZingPDF/tree/main/examples
Package split
ZingPDF: core PDF load, author, edit, sign, redact, form, metadata, and encryption APIsZingPDF.GoogleFonts: download and register Google FontsZingPDF.OCR: OCR support for scanned and image-based PDF pagesZingPDF.FromHTML: render HTML to PDF through PuppeteerSharp
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.
| 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
- Microsoft.Extensions.DependencyInjection (>= 9.0.4)
- MorseCode.ITask (>= 2.0.3)
- Nito.AsyncEx.Coordination (>= 5.1.2)
- SixLabors.ImageSharp (>= 3.1.11)
- SkiaSharp (>= 3.116.1)
- System.Security.Cryptography.Pkcs (>= 10.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ZingPDF:
| Package | Downloads |
|---|---|
|
ZingPDF.FromHTML
HTML-to-PDF conversion helpers for ZingPDF using PuppeteerSharp. |
|
|
ZingPDF.GoogleFonts
Google Fonts integration package for ZingPDF. |
|
|
ZingPDF.OCR
OCR companion package for image-based PDF pages in ZingPDF. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.54 | 153 | 4/19/2026 |
| 1.0.49 | 150 | 4/9/2026 |
| 1.0.48 | 148 | 4/7/2026 |
| 1.0.45 | 148 | 4/6/2026 |
| 1.0.44 | 147 | 4/6/2026 |
| 1.0.43 | 153 | 4/6/2026 |
| 1.0.40 | 138 | 4/5/2026 |
| 1.0.36 | 115 | 4/5/2026 |
| 1.0.35 | 115 | 4/4/2026 |
| 1.0.34 | 114 | 4/4/2026 |
| 1.0.33 | 116 | 4/4/2026 |
| 1.0.32 | 122 | 4/3/2026 |
| 1.0.31 | 114 | 4/3/2026 |
| 1.0.30 | 108 | 4/3/2026 |
| 1.0.29 | 131 | 4/3/2026 |
| 1.0.28 | 108 | 4/3/2026 |