NetPdf

Create, view, and manage PDF files in .NET with one fluent API.

NetPdf (published on NuGet as NetPdfKit) wraps battle-tested, permissively-licensed libraries — PDFsharp, PdfPig, PDFtoImage, ZXing.Net, and Svg.Skia — behind a single coherent document model. It targets net8.0, net9.0, and net10.0 and works on Windows, macOS, and Linux.

Install

dotnet add package NetPdfKit

Hello, PDF

using NetPdf;

PdfFile.Create()
    .WithMetadata(m => m.Title("Report").Author("Me"))
    .AddPage(page => page
        .AddText("Hello, world", x: 50, y: 50, o => o.FontSize(24).Bold()))
    .Save("report.pdf");

Where to go next