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.
The online Documents for PDF sample browser is available at

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.

Release Notes

# Changes from version

## Fixed
- Exception occurred when the SignatureLockedFields(SignatureLockedFieldsType, IEnumerable) constructor was used. (DOC-967)
- Appearance streams were generated incorrectly for acroform fields in certain scenario. (DOC-982)
- Text was rendered on GcPdfGraphics incorrectly if FontSizeInGraphicUnits was true and GcPdfGraphics.Resolution was not 72. (DOC-981)

## Changed
- Removed AnnotationBase.DefaultAppearanceString. Added WidgetAnnotation.DefaultAppearanceString and FreeTextAnnotation.DefaultAppearanceString, use these instead.
- The GcPdfDocument.PdfACompliant property is now obsolete (use Metadata.PdfA and GcPdfDocument.PdfAConformanceLevel instead).

## Added
- Added static property ICMapProvider GcPdfDocument.CMapProvider. It allows to specify an external object to be used by GcPdfDocument to request predefined CMaps that do not exist in GrapeCity.Documents.Pdf.
- Added new package GrapeCity.Documents.Pdf.Resources containing optional resources that can be used by GrapeCity.Documents.Pdf. Currently it contains additional CMaps that can be specified via ICMapProvider.
- Added properties TextField.RichTextValue, TextField.DefaultStyleString. These properties allow to set the value of a field as rich formatted string (see PDF spec for more details). Note that GcPdf does not automatically generate appearance streams for RTF text fields.
- Added AssociatedFiles property to Page, GcPdfDocument, StructElement and AnnotationBase objects. It allows to associate a list of embedded files with an object. This property can be used to generate PDF/A-3x compliant documents containing embedded files.
- Added Metadata.PdfA and GcPdfDocument.PdfAConformanceLevel properties that allow to set PDF/A conformance level (GcPdfDocument.PdfAConformanceLevel is just a wrapper around the Metadata.PdfA property).
- Added Metadata.CreatorTool property (the meaning is similar to DocumentInfo.Creator).
- Added support of sound annotations, see the SoundAnnotation class.
- Added GcPdfGraphics.SoftMask property. It allows to use a FormXObject as a drawing mask.
- Added Page.TransitionEffect and Page.TransitionDuration properties that allow to define a page's behavior in presentation mode (see TransitionEffect object).
- Added GcPdfDocument.ArticleThreads list. It allows to define article threads in a document (see ArticleThread and ArticleBead classes).
- Added ITextMap Page.GetTextMap() method. It allows to get a page's text map that can be used for hit testing, retrieving the list of text fragments on the page etc. (see classes ITextMap, ITextLine, ITextChar etc.).
- Added GcPdfDocument.PageLabelingRanges property. It allows to specify a dictionary of PageLabelingRange objects that define labels for the document's pages.

NuGet packages (25)

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.
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 display reports in report viewers. Multiple viewers are included for your convenience. Among them are viewers for Windows Forms, WPF, ASP.NET, and JavaScript. These viewers are customizable and include printing and exporting features.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 151 6/16/2021 726 5/19/2021 780 4/27/2021 1,065 4/1/2021 3,547 2/24/2021 1,605 1/26/2021 561 1/8/2021 4,758 12/8/2020 1,623 11/19/2020 6,006 12/30/2020 1,590 12/4/2020 4,811 10/29/2020 3,065 9/29/2020 3,232 9/7/2020 312 9/4/2020 12,915 8/11/2020 4,341 7/20/2020 7,690 7/3/2020 2,314 6/18/2020 2,236 6/2/2020 3,077 5/7/2020 2,865 4/22/2020 4,461 4/9/2020 4,799 3/5/2020 6,501 1/13/2020 948 1/3/2020 2,556 12/8/2019 6,330 11/14/2019 2,603 10/24/2019 4,282 2/4/2020 7,177 11/7/2019 323 11/6/2019 695 10/12/2019 2,236 9/20/2019 3,461 8/21/2019 1,026 8/5/2019 3,122 7/11/2019 2,126 6/9/2019 1,131 4/24/2019 1,478 3/25/2019 557 3/12/2019 1,485 3/1/2019 1,182 1/25/2019 698 12/18/2018 3,694 12/5/2018 599 11/21/2018 723 11/13/2018 812 10/24/2018 968 9/28/2018 2,590 5/15/2018 1,521 5/1/2018 998 3/12/2018 559 2/24/2018 564 2/9/2018
Show less