GemBox.Pdf
2026年7月10日0
Prefix Reserved
dotnet add package GemBox.Pdf --version 2026年7月10日0
NuGet\Install-Package GemBox.Pdf -Version 2026年7月10日0
<PackageReference Include="GemBox.Pdf" Version="2026年7月10日0" />
<PackageVersion Include="GemBox.Pdf" Version="2026年7月10日0" />Directory.Packages.props
<PackageReference Include="GemBox.Pdf" />Project file
paket add GemBox.Pdf --version 2026年7月10日0
#r "nuget: GemBox.Pdf, 2026年7月10日0"
#:package GemBox.Pdf@2026年7月10日0
#addin nuget:?package=GemBox.Pdf&version=2026年7月10日0Install as a Cake Addin
#tool nuget:?package=GemBox.Pdf&version=2026年7月10日0Install as a Cake Tool
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. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- BouncyCastle.Cryptography (>= 2.4.0)
- HarfBuzzSharp (>= 7.3.0.3)
- Microsoft.Bcl.Numerics (>= 9.0.0)
- Pkcs11Interop (>= 5.1.1)
- SkiaSharp (>= 2.88.9)
- System.Buffers (>= 4.6.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- HarfBuzzSharp (>= 7.3.0.3)
- HarfBuzzSharp.NativeAssets.Linux (>= 7.3.0.3)
- Microsoft.Bcl.Numerics (>= 9.0.0)
- Pkcs11Interop (>= 5.1.1)
- Portable.BouncyCastle (>= 1.9.0)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux (>= 2.88.9)
- System.Buffers (>= 4.6.0)
- System.Reflection.Emit.ILGeneration (>= 4.7.0)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
-
net6.0-windows7.0
- BouncyCastle.Cryptography (>= 2.4.0)
- HarfBuzzSharp (>= 7.3.0.3)
- Pkcs11Interop (>= 5.1.1)
- SkiaSharp (>= 2.88.9)
- System.Buffers (>= 4.6.0)
- System.Drawing.Common (>= 6.0.0)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on GemBox.Pdf:
| Package | Downloads |
|---|---|
|
GemBox.Bundle
GemBox.Bundle is a package of .NET components for processing spreadsheets, documents, presentations, email messages, and images (XLSX, DOCX, PPTX, PDF, MSG, and PNG) from .NET applications. With GemBox.Bundle you get fast and reliable components that are easy to use and don't depend on Microsoft Office or Adobe Acrobat. They require only .NET so you can deploy your applications without having to think about other licenses. |
|
|
GemBox.Pdf.Ocr
GemBox.Pdf.Ocr is a utility component for GemBox.Pdf that enables developers to read text from an image. |
|
|
Verify.GemBox
Extends Verify (https://github.com/VerifyTests/Verify) to allow verification via GemBox. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Added support for PdfOutline.Color, PdfOutline.Bold, and PdfOutline.Italic.
Fixed issue with rendering shading.
Added support for font fallback alias resolution on Linux.
Fixed issue with fonts that have multiple tables with same tag.
Fixed issue with rendering content with symbolic font that contains cmap subtable from non-symbolic font.
Fixed issue with excessive PushTransform calls in XPS writer.
Fixed issue with rendering content with invalid font.
Fixed issue with missing 'startxref' in first-page trailers.