Webority.Pdf
0.18.1
dotnet add package Webority.Pdf --version 0.18.1
NuGet\Install-Package Webority.Pdf -Version 0.18.1
<PackageReference Include="Webority.Pdf" Version="0.18.1" />
<PackageVersion Include="Webority.Pdf" Version="0.18.1" />
<PackageReference Include="Webority.Pdf" />
paket add Webority.Pdf --version 0.18.1
#r "nuget: Webority.Pdf, 0.18.1"
#:package Webority.Pdf@0.18.1
#addin nuget:?package=Webority.Pdf&version=0.18.1
#tool nuget:?package=Webority.Pdf&version=0.18.1
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 | net11.0 is compatible. |
-
net11.0
- Microsoft.Extensions.Http (>= 11.0.0)
- Microsoft.Extensions.Http.Resilience (>= 11.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 11.0.0)
- System.Security.Cryptography.Pkcs (>= 11.0.0)
- Webority.Diagnostics.Abstractions (>= 0.10.1 && < 0.11.0)
- Webority.Imaging (>= 0.15.0 && < 0.16.0)
- Webority.QrCode (>= 0.165.0 && < 0.166.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Webority.Pdf:
| Package | Downloads |
|---|---|
|
Webority.Documents
Document text extraction (PDF, Word, PowerPoint, Excel, OpenDocument, RTF, HTML, Markdown, CSV, 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.18.1 | 0 | 11/16/2026 |
| 0.18.0 | 463 | 11/15/2026 |
| 0.17.4 | 484 | 11/15/2026 |
| 0.17.3 | 137 | 11/15/2026 |
| 0.17.2 | 329 | 11/15/2026 |
| 0.17.1 | 595 | 11/14/2026 |
| 0.17.0 | 648 | 11/13/2026 |
| 0.16.0 | 415 | 11/13/2026 |
| 0.15.1 | 193 | 11/12/2026 |
| 0.15.0 | 79 | 11/12/2026 |
| 0.14.0 | 1,646 | 11/11/2026 |
| 0.13.1 | 613 | 11/11/2026 |
| 0.13.0 | 1,208 | 11/10/2026 |
| 0.12.1 | 2,392 | 11/8/2026 |
| 0.12.0 | 444 | 11/8/2026 |
| 0.11.2 | 2,342 | 11/6/2026 |
| 0.11.1 | 273 | 11/6/2026 |
| 0.11.0 | 231 | 11/6/2026 |
| 0.10.3 | 214 | 11/6/2026 |
| 0.10.2 | 394 | 11/6/2026 |