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.

Release Notes

# Changes from version

## Breaking changes
- GcPdf v2 (builds 2.x.x.x) requires a new license key as the previous v1 key will not work. This is a FREE upgrade for customers who purchased GcPdf v1 license - please contact sales to receive a new license key at
- An evaluation license key now allows to use the product for 30 days without any limitations. Contact to request your key.
- Type of property GcPdfDocument.CompressionLevel changed from int to standard System.IO.Compression.CompressionLevel enum.
- CompressionLevel.NoCompression corresponds to old compression level 0, Fastest to 1, Optimal to 6.
- Type of property ViewerPreferences.DisplayDocTitle changed from bool to bool?, it is written to PDF stream if it is not null.

## Bug fixes
- GcPdfDocument could not process encrypted signed files.
- Disabled bold font emulation for semi-bold fonts.

## New features and improvements
- Added GcPdfDocument.MergeWithDocument(GcPdfDocument sourceDoc, MergeDocumentOptions options) method. Use this method to combine pages from different PDF documents.
- Added constructor FormXObject(GcPdfDocument doc, Page page). It allows to insert pages from a PDF document into another document as images, and allows to duplicate a page reusing page resources.
- The new method GcPdfGraphics.DrawForm(FormXObject, ...) allows to draw FormXObject on GcPdfGraphics with full support for positioning, scaling and transformations.
- Added property Metadata.PdfUa which allows to set the supported version of PDF/UA.
- Added IPdfImage.ImageMask property. Indicates whether the image is defined as a stencil mask for painting in the current color.
- Added support of AES-256 encryption as specified in Adobe® Supplement to the ISO 32000. To specify 256 bit encryption use the StandardSecurityHandlerRev5 class. Note that StandardSecurityHandlerRev5 is derived from StandardSecurityHandlerRev4 but its EncryptionAlgorithm and KeyLength can be AES and 256 respectively; this limitation comes from the PDF specification.
- Added new action type: ActionHide, hides or shows one or more annotations on the screen by setting or clearing their Hidden flags
- Added ActionBase.Next property, allows to set the next ActionBase or sequence of actions to be performed after this action.
- Added property Page.AnnotationsTabsOrder.
- Added GcPdfDocument.GetImages(...) and Page.GetImages(...)  methods, allowing to enumerate and retrieve images from the whole document or from a specific page respectively.
- Added GcPdfDocument.EmbeddedFiles property, which allows to specify document level file attachments.
- Added properties CreationDate, ModificationDate, CheckSum, Size to the EmbeddedFileStream class.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 102 12/8/2019 799 11/14/2019 642 10/24/2019 730 11/7/2019 71 11/6/2019 401 10/12/2019 1,823 9/20/2019 1,333 8/21/2019 528 8/5/2019 1,672 7/11/2019 1,517 6/9/2019 779 4/24/2019 1,098 3/25/2019 231 3/12/2019 387 3/1/2019 815 1/25/2019 381 12/18/2018 3,220 12/5/2018 269 11/21/2018 392 11/13/2018 484 10/24/2018 620 9/28/2018 1,721 5/15/2018 1,130 5/1/2018 715 3/12/2018 280 2/24/2018 274 2/9/2018
Show less