Skip to main content
.NETFramework4.0net5.0

The Xceed PDF Library of the Xceed Documents Libraries for .NET

Published
Mar 16, 2026
8mo ago
Total Downloads
2.4K
2,412

Install

dotnet add package Xceed.PdfLibrary.NET --version 2.0.26166.7850
ProductVersions
.NET
net5.0
Other
.NETFramework4.0

README

Xceed PDF Library for .NET - Create and manipulate PDF documents

Xceed PDF Library for .NET is a professional-grade PDF framework designed for developers who need reliable PDF creation, manipulation, and extraction capabilities in their .NET applications.

Built for performance and ease of use, it provides a set of tools to generate and process PDF documents programmatically.

image

Click the image above to receive a trial license. It unlocks all features of the component. See the Get Started section for details.

Brought to you by Xceed Software, a leader in .NET components for over 25 years.

Features

PDF Creation

Feature Supported
Create PDF from scratch :heavy_check_mark:
Add text with font, size, color, and positioning :heavy_check_mark:
Use standard, system, and custom embedded fonts :heavy_check_mark:
Add paragraphs with automatic text wrapping :heavy_check_mark:
Add pages and margins :heavy_check_mark:
Add lines and rectangles :heavy_check_mark:
Add CheckBox, RadioButton, TextBox, NumberTextBox, DateTimeTextBox, ComboBox, ListBox forms :heavy_check_mark:
Add digital signature fields :heavy_check_mark:
Add hyperlinks :heavy_check_mark:
Add attachments and watermarks :heavy_check_mark:
Set page format and custom page size :heavy_check_mark:
Open and save PDF documents :heavy_check_mark:

PDF Extraction

Feature Supported
Extract pages :heavy_check_mark:
Extract metadata :heavy_check_mark:
Extract words and characters :heavy_check_mark:
Extract text with font information :heavy_check_mark:
Extract text inside a rectangle :heavy_check_mark:
Extract right-to-left languages :heavy_check_mark:
Extract Asian/Arabic texts :heavy_check_mark:
Extract form fields :heavy_check_mark:
Extract hyperlinks and bookmarks :heavy_check_mark:
Extract watermarks :heavy_check_mark:
Extract page rotation :heavy_check_mark:
Extract images :heavy_check_mark:
Extract attachments :heavy_check_mark:
Extract paths (lines, rectangles) :heavy_check_mark:

Compatibility

  • .NET Framework 4.0 and later
  • .NET 5 and later
  • Runs on Windows, macOS, and Linux
  • Works in desktop, web, and cloud environments
  • Integrates with ASP.NET and Blazor applications

Get Started

Xceed PDF Library for .NET gives you the building blocks to create and manipulate PDF documents using code.

Install via NuGet:

dotnet add package Xceed.PdfLibrary.NET

Add the license key in your application code before starting to use the component’s classes.

static void Main( string[] args )
{
  Xceed.PdfLibrary.NET.Licenser.LicenseKey = "PDFXX-XXXXX-XXXXX-XXXX";
  
  PdfDocument pdfDocument = PdfDocument.Create( "MyPdf.pdf" );
  /* ... */
}

Read the full documentation licensing article here.

Code Example

using Xceed.PdfLibrary.NET;

// Create a PDF document.
using( PdfDocument pdfDocument = PdfDocument.Create( "MyPdf.pdf" ) )
{
  // Get the first page of the document.
  Page page = pdfDocument.Pages.First();

  // Add title.
  TextStyle titleStyle = TextStyle.WithFont( pdfDocument.Fonts.GetStandardFont( StandardFontType.Helvetica ), 15d );
  page.AddParagraph( "My first paragraph.", titleStyle, new ParagraphStyle( ParagraphHorizontalAlignment.Center ) );

  // Save the document.
  pdfDocument.Save();
  Console.WriteLine( $"Info exported to path: {outputFileName}" );
}

More from Xceed

Xceed offers additional high‑quality libraries for .NET developers.

Xceed Words for .NET

Create, load, edit, convert, and secure Word documents without requiring Microsoft Word or Office interop.

Xceed Workbooks for .NET

Create, load, edit, and save Excel workbooks and spreadsheet files, without needing Microsoft Excel or Office interop.


Documentation and Resources

Resource Link
Product Page and Pricing Xceed PDF Library for .NET
Documentation Online Documentation
NuGet Package NuGet Package
Blog & Updates Xceed Blog
Support Forum Xceed Support
License Details Xceed Licensing

Changes from Previous Version

v1.0.25608.6677v2.0.26166.7850
Added Frameworks
.NETFramework4.0net5.0
Added Dependencies
Removed Dependencies

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.