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

## 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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 0 12/8/2019 623 11/14/2019 571 10/24/2019 612 11/7/2019 67 11/6/2019 398 10/12/2019 1,814 9/20/2019 1,310 8/21/2019 510 8/5/2019 1,648 7/11/2019 1,500 6/9/2019 772 4/24/2019 1,096 3/25/2019 229 3/12/2019 385 3/1/2019 814 1/25/2019 380 12/18/2018 3,210 12/5/2018 267 11/21/2018 388 11/13/2018 481 10/24/2018 615 9/28/2018 1,716 5/15/2018 1,128 5/1/2018 714 3/12/2018 279 2/24/2018 273 2/9/2018
Show less