.NET Standard 2.0 .NET Framework 4.6.1
Install-Package GrapeCity.Documents.Pdf -Version
dotnet add package GrapeCity.Documents.Pdf --version
<PackageReference Include="GrapeCity.Documents.Pdf" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GrapeCity.Documents.Pdf --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GrapeCity.Documents.Pdf,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GrapeCity.Documents.Pdf as a Cake Addin
#addin nuget:?package=GrapeCity.Documents.Pdf&version=

// Install GrapeCity.Documents.Pdf as a Cake Tool
#tool nuget:?package=GrapeCity.Documents.Pdf&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GrapeCity Documents for PDF

GrapeCity Documents for PDF (GcPdf) is a fast and powerful PDF API library that is compatible with .NET 6, .NET 5, .NET Core 3.x/2.x, .NET Standard 2.x, .NET Framework 4.6.1 or later.

All features are fully supported on Windows, macOS and Linux.

GcPdf provides a rich set of APIs that allow developers to do fast and memory-efficient PDF processing in C# or VB.NET code. GcPdf's core object model follows the PDF specification, providing programmatic access to PDF elements such as document properties, pages, fonts, annotations and so on. GcPdf also provides powerful high-level features that enable developers to easily create PDF documents with complex layouts, combining richly formatted text and graphics.

Some of the features include:

  • Programmatically create, load, modify, save or inspect PDFs.
  • Support for different PDF standards including ISO 32000 (PDF 2.0).
  • Export PDFs to BMP, GIF, JPEG, PNG or TIFF image formats.
  • Merge or split PDF documents.
  • Powerful text formatting and layout engine with full multi-language support, including RTL (with Kashida in Arabic) and vertical text, Tate Chu Yoko, text flow around objects, and more.
  • Advanced text rendering capabilities including support for Adobe Type 1 fonts and bitmap glyphs in OpenType CJK fonts.
  • Font embedding and sub-setting, with support for True Type, Open Type and WOFF fonts.
  • Add raster (BMP, GIF, ICO, JPEG, JPEG 2000, PNG, TIFF) or vector (SVG, SVGZ) images to PDFs.
  • Create SVG images on the fly, or modify existing SVGs using the provided SVG DOM (document object model).
  • Support for all common graphics drawing and filling operations when rendering PDF pages.
  • Encryption and security support, including incremental updates, PAdES, PKCS #12, ECDSA.
  • Find text, get text map with exact coordinates on page.
  • Analyze PDFs, fetch logical paragraphs and table data using structure tags or heuristics.
  • Programmatically create and apply redactions to completely erase sensitive data.
  • Support for optional PDF content (layers).
  • Create, modify, fill or flatten AcroForms (PDF Forms).
  • Linearize existing or created PDFs for faster web viewing.

GcPdf comes with a powerful client side JavaScript PDF viewer control (GcPdfViewer).


Other GrapeCity Document APIs

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (27)

Showing the top 5 NuGet packages that depend on GrapeCity.Documents.Pdf:

Package Downloads

GrapeCity Documents for Excel is a high-speed, small-footprint spreadsheet API that requires no dependencies on Excel. With full .NET Standard 2.0 support, you can generate, load, modify, and convert spreadsheets in .NET Framework, .NET Core, Mono, and Xamarin. Apps using this spreadsheet API can be deployed to cloud, Windows, Mac, or Linux. Its powerful calculation engine and breadth of features means you’ll never have to compromise design or requirements. We model our interface-based API on Excel's document object model. This means that you can import, calculate, query, generate, and export any spreadsheet scenario. Using GcExcel, you can create full reports, sorted and filtered tables, sorted and filtered pivot tables, dashboard reports, add charts, sparklines, conditional formats, import and export Excel templates and also convert spreadsheets to PDF. The online Documents for Excel sample browser is available at


ActiveReports PDF export library


GrapeCity ActiveReports is a set of assemblies that enable you to create, render, print, and export reports in a .NET or .NET Core application. This package includes assemblies needed to export ActiveReports files. The available exports include, among others, PDF, Excel, Doc/DocX, HTML, JSON, CSV, XML and image.


GrapeCity ActiveReports is a set of assemblies that enable you to create, render, print, and export reports in a .NET or .NET Core application. This package includes internal assemblies needed to display reports in report viewers.


ActiveReports RDF document PDF rendering implementation

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 424 7/29/2022 989 7/15/2022 4,722 6/10/2022 3,289 5/23/2022 2,860 4/29/2022 9,354 4/19/2022 3,081 4/7/2022 3,894 3/21/2022 7,674 3/2/2022 1,295 2/16/2022 4,920 1/24/2022 6,071 12/24/2021 12,665 12/13/2021 21,143 12/3/2021 74,907 10/29/2021 4,476 10/13/2021 2,011 9/23/2021 2,577 8/31/2021 17,728 8/16/2021 1,255 8/6/2021 14,817 7/6/2021 2,561 6/16/2021 4,761 5/19/2021 4,569 4/27/2021 2,879 4/1/2021 4,745 2/24/2021 4,545 1/26/2021 1,086 1/8/2021 17,892 12/8/2020 2,883 11/19/2020 40,024 12/30/2020 3,359 12/4/2020 6,411 10/29/2020 6,794 9/29/2020 4,594 9/7/2020 631 9/4/2020 30,082 8/11/2020 4,918 7/20/2020 12,983 7/3/2020 3,182 6/18/2020 3,089 6/2/2020 4,177 5/7/2020 8,728 4/22/2020 5,307 4/9/2020 7,247 3/5/2020 10,259 1/13/2020 1,324 1/3/2020 3,828 12/8/2019 6,970 11/14/2019 3,525 10/24/2019 5,981 2/4/2020 11,081 11/7/2019 578 11/6/2019 928 10/12/2019 2,524 9/20/2019 4,201 8/21/2019 1,344 8/5/2019 4,763 7/11/2019 2,667 6/9/2019 1,433 4/24/2019 1,871 3/25/2019 874 3/12/2019 2,120 3/1/2019 1,481 1/25/2019 957 12/18/2018 3,957 12/5/2018 863 11/21/2018 978 11/13/2018 1,077 10/24/2018 1,252 9/28/2018 3,084 5/15/2018 1,939 5/1/2018 1,182 3/12/2018 725 2/24/2018 733 2/9/2018

# Changes since version

## Fixed
- [Regression added in v5.1.0.793] InvalidOperationException occurs when signing a PDF in some cases. (DOC-4507)
- ITextMap.FindText() method does not assign the FoundPosition.PageIndex property. (DOC-4493)
- An exception occurs when opening a particular password-protected PDF. (DOC-4437)
- Images are missing when saving certain PDFs as images. (DOC-1930)

## Added
- Property StandardSecurityHandler.HasUserPassword: Gets a value indicating whether the PDF has a user password that is required to open the document. (DOC-4112)
- Property StandardSecurityHandler.HasOwnerPassword: Gets a value indicating whether the PDF has an owner password that is required to edit the document. (DOC-4112)