Introduction to PDFsharp Library
Version 6.1.0
In this article
What is PDFsharp?
PDFsharp Library is a .NET library for processing PDF files. You create PDF pages using drawing routines known from GDI+ (WinForms). Almost anything that can be done with GDI+ will also work with PDFsharp. Only basic text layout is supported by PDFsharp, and page breaks are not created automatically. The same drawing routines can be used for screen, PDF, or meta files.
Feature highlights
- Creates PDF documents on the fly from any .NET language
- Easy to understand object model to compose documents
- Written entirely in C# and available for .NET Framework 4.7.2 / Standard 2.0 and .NET 6
- One source code for drawing on a PDF page as well as in a window or on the printer
- Modify, merge, and split existing PDF files
- Images with transparency (color mask, monochrome mask, alpha mask)
- Font embedding and subsetting
- The graphical implementation based either on GDI+ or WPF (on Windows only)
Links
See also PDFsharp features