GemBox.Pdf
2026.9.116
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package GemBox.Pdf --version 2026.9.116
NuGet\Install-Package GemBox.Pdf -Version 2026.9.116
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GemBox.Pdf" Version="2026.9.116" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GemBox.Pdf" Version="2026.9.116" />
<PackageReference Include="GemBox.Pdf" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GemBox.Pdf --version 2026.9.116
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GemBox.Pdf, 2026.9.116"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GemBox.Pdf@2026.9.116
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GemBox.Pdf&version=2026.9.116
#tool nuget:?package=GemBox.Pdf&version=2026.9.116
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
What is GemBox.Pdf?
GemBox.Pdf is a .NET component that enables you to read, write, edit, and print PDF files from .NET applications.
With GemBox.Pdf you get a fast and reliable component that's easy to use and doesn't depend on Adobe Acrobat. It requires only .NET so you can deploy your applications without having to think about other licenses.
GemBox.Pdf Features
- Read, write, and update PDF files.
- Convert PDF files to image (PNG, JPEG, GIF, BMP, TIFF, and WMP) and XML Paper Specification (XPS) formats.
- View PDF files in Azure Functions, Blazor, ASP.NET Core, MAUI, and WPF applications.
- Process PDF files on Windows, Linux, macOS, Android, and iOS operating systems.
- Extract text from PDF files.
- Extract images from PDF files.
- Redact content from PDF files.
- Print PDF files.
- Merge PDF files.
- Split PDF files.
- Create, fill in, flatten, read, and export PDF interactive forms.
- Extract text from images or scanned PDF files with optical character recognition (OCR).
- Encrypt and digitally sign PDF files.
- Clone or import pages between PDF documents.
- Get, create, or edit bookmarks (outlines).
- Get and set document properties.
- Get and set viewer preferences.
- Add watermark, header and footer to PDF pages.
- Get, create, remove, or reorder pages.
- Add text and marked content to pages and format (fill, stroke, and clip) the content.
- Annotate PDF pages with hyperlinks.
- Use basic PDF objects for currently unsupported PDF features.
- Specify fonts location.
Get Started
You are not sure how to start working with PDF documents in .NET using GemBox.Pdf? Check the code below that shows how to create a PDF file from scratch and write 'Hello World!' on it.
// If using Professional version, put your serial key below.
ComponentInfo.SetLicense("FREE-LIMITED-KEY");
// Create a new PDF document.
using (var document = new PdfDocument())
{
// Add a page.
var page = document.Pages.Add();
using (var formattedText = new PdfFormattedText())
{
// Add text.
formattedText.AppendLine("Hello World");
// Draw text to the page.
page.Content.DrawText(formattedText, new PdfPoint(100, 700));
}
// Save the document as PDF file.
document.Save("Writing.pdf");
}
For more GemBox.Pdf code examples and demos, please visit our examples page.
AI Coding
CLI coding agents such as GitHub Copilot, Claude Code, and OpenAI Codex can write valid GemBox code when enabled with our gembox-skill.
Resources
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. |
