.NET Standard 2.0 .NET Framework 4.6.1
There is a newer version of this package available.
See the version list below for details.
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 (GcPdf) is a cross-platform library that allows to create, analyze, and modify PDF documents.
Its object model closely follows the Adobe PDF specification, and is designed to provide direct access to features of the PDF format.
In addition, Documents for PDF includes a powerful and platform-independent font handling and text layout engine and other high-level features that make PDF document creation easy and convenient.
HTML content can be rendered using the optional GcHtml library (GrapeCity.Documents.Html).
The online Documents for PDF sample browser is available at

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 863 6/10/2022 2,637 5/23/2022 2,451 4/29/2022 5,157 4/19/2022 2,068 4/7/2022 3,233 3/21/2022 5,618 3/2/2022 1,101 2/16/2022 4,311 1/24/2022 5,035 12/24/2021 10,839 12/13/2021 16,578 12/3/2021 64,820 10/29/2021 4,277 10/13/2021 1,957 9/23/2021 2,460 8/31/2021 15,865 8/16/2021 807 8/6/2021 13,727 7/6/2021 2,468 6/16/2021 4,548 5/19/2021 4,108 4/27/2021 2,653 4/1/2021 4,665 2/24/2021 4,270 1/26/2021 1,059 1/8/2021 16,198 12/8/2020 2,737 11/19/2020 36,238 12/30/2020 3,223 12/4/2020 6,246 10/29/2020 6,518 9/29/2020 4,533 9/7/2020 599 9/4/2020 28,800 8/11/2020 4,886 7/20/2020 12,568 7/3/2020 3,109 6/18/2020 3,043 6/2/2020 4,033 5/7/2020 8,282 4/22/2020 5,225 4/9/2020 7,046 3/5/2020 9,910 1/13/2020 1,276 1/3/2020 3,710 12/8/2019 6,911 11/14/2019 3,425 10/24/2019 5,821 2/4/2020 10,588 11/7/2019 560 11/6/2019 915 10/12/2019 2,514 9/20/2019 4,137 8/21/2019 1,322 8/5/2019 4,625 7/11/2019 2,635 6/9/2019 1,418 4/24/2019 1,833 3/25/2019 847 3/12/2019 2,068 3/1/2019 1,451 1/25/2019 946 12/18/2018 3,939 12/5/2018 845 11/21/2018 964 11/13/2018 1,064 10/24/2018 1,225 9/28/2018 3,058 5/15/2018 1,919 5/1/2018 1,179 3/12/2018 723 2/24/2018 731 2/9/2018

# Changes since version

## Breaking changes
- Removed events GcPdfDocument.GeneratingDocument and GcPdfDocument.SavingDocument.

## Fixed
- Incorrect rendering of PDFs containing Adobe Type 1 Fonts. (DOC-1620, DOC-1622, DOC-2300, DOC-2737)
- Free text annotation border is drawn even if line width is 0. (DOC-2812)
- In some cases incorrect fonts are used when a PDF is saved as image. (DOC-2984)
- Memory usage is too high when a PDF containing many large images is saved as image. (DOC-2945)
- In some scenarios GcPdfDocument.MergeWithDocument() may produce invalid PDFs. (DOC-3000)

## Added
- Class GrapeCity.Documents.Pdf.Recognition.Structure.LogicalStructure: represents the parsed logical structure of a document, created from tags in the PDF structure tree. (DOC-2052)
- Class GrapeCity.Documents.Pdf.Recognition.Structure.Element: represents a parsed PDF tag (structure element) in the document's logical structure.
- Class GrapeCity.Documents.Pdf.Recognition.Structure.ContentItemBase: abstract representing a portion of document content associated with a PDF structure tag (element).
- Class GrapeCity.Documents.Pdf.Recognition.Structure.ContentItem : ContentItemBase: abstract class representing a content item associated with a portion of a content stream.
- Class GrapeCity.Documents.Pdf.Recognition.Structure.McidContentItem : ContentItem: represents a parsed GrapeCity.Documents.Pdf.Structure.McidContentItemLink.
- Class GrapeCity.Documents.Pdf.Recognition.Structure.McrContentItem : ContentItem: represents a parsed GrapeCity.Documents.Pdf.Structure.McrContentItemLink.
- Class GrapeCity.Documents.Pdf.Recognition.Structure.ObjrContentItem : ContentItemBase: represents a parsed GrapeCity.Documents.Pdf.Structure.ObjrContentItemLink.
- Method GcPdfDocument.GetLogicalStructure(): parses the PDF's structure tree and creates a LogicalStructure object that represents the logical structure of the document.
- Interface GrapeCity.Documents.Pdf.TextMap.ITextRun: represents a portion of a text paragraph with the same formatting, possibly spanning several lines.
- Interface GrapeCity.Documents.Pdf.TextMap.ITextRunFragment: represents a fragment of a text run that resides on a single text line.
- Properties on ITextParagraph: TextMap, Page, Runs.
- Properties on ITextLine: Paragraph, RunFragments.
- Method ITextParagraph.GetTextRuns(): Finds text runs in the paragraph that contain a specified text fragment.
- Property FindTextParams.Regex: specifies whether the search text should be interpreted as a regular expression. Also added a corresponding optional argument to FindTextParams ctor, and a utility method FindTextParams.CreatRegex().