miPDFlib
Open-source (Apache-2.0) PDF library for .NET 8 and .NET 10 – pure managed code, no native dependencies. Create, read, modify, merge, fill forms, extract text, redact, encrypt and digitally sign (PAdES B-B to B-LTA) PDF documents, produce PDF/A, PDF/UA and ZUGFeRD / XRechnung e-invoices.
dotnet add package miPDFlib
using MiPdf;
using MiPdf.Fonts;
using MiPdf.Layout;
using var pdf = PdfDocument.Create();
using (var layout = new LayoutDocument(pdf, PageSize.A4, new Thickness(50)))
layout.Add(new Paragraph("Hello miPDFlib", PdfStandardFont.HelveticaBold, 20));
pdf.Save("hello.pdf");
Where to start
- Guides – creating documents, forms, signatures, text extraction, PDF/A, e-invoices and more, with code samples.
- How-to guides – step-by-step: PAdES signatures, ZUGFeRD invoices, replacing iText.
- API reference – every namespace, class and method, searchable.
Source code, issues and discussions: github.com/Mibuw/miPDFlib · package: nuget.org/packages/miPDFlib