.NET Standard 2.0 .NET Framework 4.6.1
dotnet add package GrapeCity.Documents.Pdf --version
NuGet\Install-Package GrapeCity.Documents.Pdf -Version
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="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
#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=

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 (28)

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

Package Downloads

ActiveReports PDF export library


GrapeCity Documents for Excel is a high-speed, small-footprint spreadsheet API that requires no dependencies on Excel. With full .NET 6 support, you can generate, load, modify, and convert spreadsheets in .NET 6, .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


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.


ActiveReports RDF document PDF rendering implementation


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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 50 12/9/2022 3,829 11/2/2022 3,673 10/10/2022 9,521 9/16/2022 4,002 8/24/2022 6,392 8/15/2022 7,339 7/29/2022 1,649 7/15/2022 9,924 6/10/2022 4,311 5/23/2022 3,680 4/29/2022 19,526 4/19/2022 6,167 4/7/2022 6,193 3/21/2022 13,222 3/2/2022 2,501 2/16/2022 8,105 1/24/2022 9,151 12/24/2021 19,066 12/13/2021 40,801 12/3/2021 77,275 10/29/2021 5,866 10/13/2021 2,246 9/23/2021 3,023 8/31/2021 21,734 8/16/2021 2,301 8/6/2021 20,969 7/6/2021 3,176 6/16/2021 5,291 5/19/2021 5,497 4/27/2021 3,862 4/1/2021 5,093 2/24/2021 5,199 1/26/2021 1,256 1/8/2021 23,377 12/8/2020 3,327 11/19/2020 56,259 12/30/2020 4,097 12/4/2020 7,053 10/29/2020 8,905 9/29/2020 4,988 9/7/2020 776 9/4/2020 35,827 8/11/2020 5,144 7/20/2020 14,462 7/3/2020 3,532 6/18/2020 3,477 6/2/2020 4,536 5/7/2020 10,569 4/22/2020 5,719 4/9/2020 8,276 3/5/2020 11,536 1/13/2020 1,509 1/3/2020 4,172 12/8/2019 7,351 11/14/2019 3,868 10/24/2019 7,288 2/4/2020 13,421 11/7/2019 690 11/6/2019 1,043 10/12/2019 2,672 9/20/2019 4,423 8/21/2019 1,496 8/5/2019 5,197 7/11/2019 2,875 6/9/2019 1,579 4/24/2019 2,050 3/25/2019 1,027 3/12/2019 2,298 3/1/2019 1,630 1/25/2019 1,073 12/18/2018 4,068 12/5/2018 981 11/21/2018 1,097 11/13/2018 1,197 10/24/2018 1,376 9/28/2018 3,223 5/15/2018 2,055 5/1/2018 1,210 3/12/2018 751 2/24/2018 763 2/9/2018

# Changes since version

## Fixed
- Some PDFs are rendered incorrectly when saved as images. (DOC-4949, DOC-4845)
- Saving certain PDFs produces corrupted files. (DOC-4827, DOC-4864, DOC-4908)
- Loading and saving certain PDFs yields much larger file sizes. (DOC-4879)