Xceed.PdfLibrary.NET
The Xceed PDF Library of the Xceed Documents Libraries for .NET
Install
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
Xceed PDF Library for .NET β Create and Manipulate PDF Documents

Xceed PDF Library for .NET β Enterprise PDF Creation & Manipulation API for .NET
Overview
Enterprise-grade PDF creation, manipulation, and extraction API for .NET applications.
Overview
Xceed PDF Library for .NET is a complete enterprise framework for PDF document creation, manipulation, extraction, and automation. Whether you're building document management systems, reporting engines, or enterprise workflows, Xceed provides the tools to handle complex PDF operations programmatically.
Trusted by Fortune 500 companies and .NET developers worldwide, this library streamlines PDF document automation across ASP.NET, Blazor, desktop, cloud, and server-side applications.
Key Features
PDF Creation
- Create PDF documents from scratch programmatically
- Generate professional documents with custom layouts
- Add pages with configurable margins and sizes
- Set custom page formats and dimensions
- Open, modify, and save existing PDF documents
Text & Formatting
- Add styled text with custom fonts, sizes, and colors
- Support for standard system and embedded custom fonts
- Create paragraphs with automatic text wrapping
- Precise text positioning and alignment control
- Comprehensive font information extraction
- Find a specific text and remove it, replace it or modify its style
Forms & Interactivity
- CheckBox fields
- RadioButton fields
- TextBox and NumberTextBox fields
- DateTimeTextBox fields
- ComboBox and ListBox fields
- Digital signature fields
Content Extraction
- Extract text, words, and characters
- Extract metadata and font information
- Extract text within specific rectangles
- Extract images and graphical elements
- Extract hyperlinks, bookmarks, and watermarks
- Extract form fields and attachments
- Support for right-to-left, Asian, and Arabic text
Advanced Features
- Add watermarks and attachments
- Insert hyperlinks and bookmarks
- Insert png or jpg images
- Draw lines, rectangles, and paths
- Digital signature field support
- Elements rotation extraction
- Comprehensive metadata handling
- Support transparency
- Encrypt and decrypt with passwords
- Manage document's permissions
Installation
NuGet Package Manager
dotnet add package Xceed.PdfLibrary.NET
Package Manager Console
Install-Package Xceed.PdfLibrary.NET
Quick Start
Create a PDF Document
using Xceed.PdfLibrary.NET;
// Create a new PDF document
using (PdfDocument pdfDocument = PdfDocument.Create("MyDocument.pdf"))
{
// Get the first page
Page page = pdfDocument.Pages.First();
// Define a title style
TextStyle titleStyle = TextStyle.WithFont(
pdfDocument.Fonts.GetStandardFont(StandardFontType.Helvetica),
15d
);
// Add a paragraph
page.AddParagraph(
"My first paragraph.",
titleStyle,
new ParagraphStyle(ParagraphHorizontalAlignment.Center)
);
// Save the document
pdfDocument.Save();
}
Add License Key
using Xceed.PdfLibrary.NET;
static void Main(string[] args)
{
// Set your license key
Xceed.PdfLibrary.NET.Licenser.LicenseKey = "PDFXX-XXXXX-XXXXX-XXXX";
// Start creating and manipulating PDFs
PdfDocument pdfDocument = PdfDocument.Create("MyPdf.pdf");
// Your PDF creation code here...
}
Core Capabilities
PDF Document Operations
| Feature | Supported |
|---|---|
| Create PDF from scratch | β |
| Open existing PDF documents | β |
| Save modified PDF files | β |
| Configure page formats | β |
| Set custom page sizes | β |
| Manage margins and layout | β |
| Encrypt and decrypt with passwords | β |
| Manage document's permissions | β |
Text & Styling
| Feature | Supported |
|---|---|
| Add text with font, size, color, positioning | β |
| Use standard, system, and custom embedded fonts | β |
| Create paragraphs with automatic wrapping | β |
| Add text with specific alignment | β |
| Extract text with font information | β |
| Find a specific text | β |
| Remove or replace a text | β |
| Modify a text style | β |
Forms & Fields
| Feature | Supported |
|---|---|
| CheckBox fields | β |
| RadioButton fields | β |
| TextBox fields | β |
| NumberTextBox fields | β |
| DateTimeTextBox fields | β |
| ComboBox fields | β |
| ListBox fields | β |
| Digital signature fields | β |
Content Extraction
| Feature | Supported |
|---|---|
| Extract pages | β |
| Extract metadata | β |
| Extract text and words | β |
| Extract font information | β |
| Extract text in rectangles | β |
| Extract images | β |
| Extract attachments | β |
| Extract form fields | β |
| Extract hyperlinks and bookmarks | β |
| Extract watermarks | β |
| Extract right-to-left and Asian text | β |
Graphics & Elements
| Feature | Supported |
|---|---|
| Add lines and rectangles | β |
| Add paths and shapes | β |
| Add watermarks | β |
| Add attachments | β |
| Add hyperlinks | β |
| Add Images | β |
| Support transparency | β |
Supported Platforms & Frameworks
Frameworks
- .NET Framework 4.0+
- .NET 5+
- .NET 6+
- .NET 7+
- .NET 8+
- .NET 9+
- .NET 10+
Operating Systems
- Windows
- macOS
- Linux
Common Use Cases
- PDF Generation Systems - Generate reports, invoices, and contracts programmatically
- Document Automation Platforms - Build workflow engines for document processing
- Reporting Engines - Create dynamic, formatted PDF reports from application data
- Contract & Invoice Workflows - Automate contract and invoice generation and management
- ASP.NET Document Services - Integrate PDF generation into web applications
- Enterprise Content Extraction - Extract structured data from PDF documents
- Form Processing - Create and process interactive PDF forms
- Cloud PDF Processing - Deploy PDF operations in cloud-native applications
Supported PDF Features
Creation Features
- Create PDF from scratch
- Add text with custom font, size, color, positioning
- Use standard, system, and custom embedded fonts
- Add paragraphs with automatic text wrapping
- Add pages and manage margins
- Add CheckBox, RadioButton, TextBox, NumberTextBox, DateTimeTextBox, ComboBox, ListBox, and digital signature fields
- Add hyperlinks
- Add attachments and watermarks
- Add lines and rectangles
- Add images
- Set page format and custom page sizes
- Open and save PDF documents
- Encrypt and decrypt with passwords
- Manage document's permissions
Extraction Features
- Extract pages and page count
- Extract metadata
- Extract words, characters, and text
- Extract text with font information
- Extract text inside rectangles
- Extract form fields
- Extract hyperlinks and bookmarks
- Extract watermarks
- Extract page rotation
- Extract images and graphics
- Extract attachments and paths
- Support for right-to-left, Asian, and Arabic text
- Find a specific text
- Remove or replace a text
- Modify a text style
Free 45-Day Trial
Experience the full capabilities of Xceed PDF Library for .NET with a free 45-day trial. No credit card required.
Resources
- Product Page - Features and pricing
- Documentation - Complete API documentation
- API Reference - Detailed method and class reference
- Blog - Updates and articles
- Support - Technical support and forums
- Licensing - License information and pricing
Related Xceed Products
Document & Office Automation
- Xceed Words for .NET - Word document creation and manipulation
- Xceed Workbooks for .NET - Excel workbook creation and editing
File & Data Transfer
- Xceed Zip for .NET - ZIP, TAR, GZip archive compression
- Xceed Real-Time Zip for .NET - Streaming ZIP compression
- Xceed SFTP for .NET - Secure SFTP and SSH transfers
- Xceed FTP for .NET - FTP and FTPS file transfers
UI Components
- Xceed Toolkit Plus for WPF - Advanced WPF controls
- Xceed DataGrid for WPF - High-performance WPF DataGrid
- Xceed Toolkit for .NET MAUI - Cross-platform MAUI controls
- Extended WPF Toolkit - Open-source WPF controls
Getting Help
- Documentation - Complete API documentation and guides
- Support Portal - Get technical support
- NuGet Package - View on NuGet.org
License
Xceed PDF Library for .NET is a commercial product. A free 45-day trial is available, and various license options are offered for development and production use. See licensing information for details.
Xceed PDF Library for .NET β Enterprise PDF automation for modern .NET applications.
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.