Webority.Pdf
0.12.0
See the version list below for details.
dotnet add package Webority.Pdf --version 0.12.0
NuGet\Install-Package Webority.Pdf -Version 0.12.0
<PackageReference Include="Webority.Pdf" Version="0.12.0" />
<PackageVersion Include="Webority.Pdf" Version="0.12.0" />
<PackageReference Include="Webority.Pdf" />
paket add Webority.Pdf --version 0.12.0
#r "nuget: Webority.Pdf, 0.12.0"
#:package Webority.Pdf@0.12.0
#addin nuget:?package=Webority.Pdf&version=0.12.0
#tool nuget:?package=Webority.Pdf&version=0.12.0
Webority.Pdf
Webority's PDF library for .NET. It generates documents in code and works on existing PDF files: open, protect, merge, split, stamp, read text and tables, recognise scanned pages, fill forms, render, sign, redact and optimise.
Install
dotnet add package Webority.Pdf
Register it with the host:
services.AddWeborityPdf();
A first document
PdfDocument document = PdfDocument.Create(content => content.Page(page =>
{
page.Size(PdfPageSizes.A4);
page.Margin(2, PdfUnit.Centimetre);
page.Content().Column(column =>
{
column.Item().Text("Statement 1042").FontSize(18).Bold();
column.Item().Text("Thank you for your business.");
});
}));
PdfResult<PdfFile, PdfGenerateFailure> result = await generator.GenerateAsync(document, cancellationToken);
if (result.Succeeded)
{
await result.Value.SaveAsync(destination, cancellationToken);
}
Expected failures come back as a result value, never as an exception.
Hindi needs no font setup: the bundled Noto Sans Devanagari face draws any Devanagari character the default Lato face lacks.
Scanned pages
Webority.Pdf.Ocr.Azure reads scanned pages through Azure Document Intelligence and can write a searchable text layer onto them.
Parallel rendering
Rendering, reading text and redaction share one native lock per process. To run them in parallel, turn on worker processes with Pdf:Workers:Enabled and Pdf:Workers:Count, and begin the host's async Main with if (await PdfWorker.TryRunAsync(args) is { } exitCode) { return exitCode; }, because the workers are copies of the host. Memory can reach Count times Pdf:Workers:MaxMemoryMegabytes on top of the host. The settings are in docs/usage/hosting.md.
Documentation
Every public type and member carries XML documentation, which your editor shows as you type. Expected failures are listed on each result's failure type.
Licence
Proprietary: see LICENSE.txt. The bundled fonts are under the SIL Open Font License; their licence text ships in the package under licenses/.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Http (>= 10.0.14)
- Microsoft.Extensions.Http.Resilience (>= 10.11.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.14)
- System.Security.Cryptography.Pkcs (>= 10.0.14)
- Webority.Diagnostics.Abstractions (>= 0.4.4)
- Webority.Imaging (>= 0.7.3)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Webority.Pdf:
| Package | Downloads |
|---|---|
|
Webority.Documents
Document text extraction (PDF, Word, PowerPoint, HTML, plain text), PDF page layout and PDF merge for Webority products, over streams. |
|
|
Webority.Social.Cards.Carousel
Carousel and document cards for Webority.Social.Cards: draws a brand-skinned slide deck as a PDF or one image per slide with Webority.Pdf, behind ISocialCarouselRenderer. The product adds its own slide styles. |
|
|
Webority.Pdf.Ocr.Azure
Reads scanned PDF pages through Azure AI Document Intelligence for Webority.Pdf. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.12.1 | 0 | 11/8/2026 |
| 0.12.0 | 0 | 11/8/2026 |
| 0.11.2 | 1,848 | 11/6/2026 |
| 0.11.1 | 185 | 11/6/2026 |
| 0.11.0 | 100 | 11/6/2026 |
| 0.10.3 | 135 | 11/6/2026 |
| 0.10.2 | 244 | 11/6/2026 |
| 0.10.1 | 140 | 11/6/2026 |
| 0.10.0 | 175 | 11/6/2026 |
| 0.9.1 | 255 | 11/5/2026 |
| 0.9.0 | 169 | 11/5/2026 |
| 0.8.0 | 256 | 11/5/2026 |
| 0.7.2 | 360 | 11/5/2026 |
| 0.7.1 | 191 | 11/5/2026 |
| 0.7.0 | 68 | 11/5/2026 |
| 0.6.0 | 99 | 11/5/2026 |
| 0.5.2 | 257 | 11/4/2026 |
| 0.5.1 | 352 | 11/4/2026 |
| 0.5.0 | 101 | 11/4/2026 |
| 0.4.1 | 97 | 11/4/2026 |