GrapeCity.Documents.Pdf
6.2.0
See the version list below for details.
dotnet add package GrapeCity.Documents.Pdf --version 6.2.0
NuGet\Install-Package GrapeCity.Documents.Pdf -Version 6.2.0
<PackageReference Include="GrapeCity.Documents.Pdf" Version="6.2.0" />
paket add GrapeCity.Documents.Pdf --version 6.2.0
#r "nuget: GrapeCity.Documents.Pdf, 6.2.0"
// Install GrapeCity.Documents.Pdf as a Cake Addin #addin nuget:?package=GrapeCity.Documents.Pdf&version=6.2.0 // Install GrapeCity.Documents.Pdf as a Cake Tool #tool nuget:?package=GrapeCity.Documents.Pdf&version=6.2.0
GrapeCity Documents for PDF
GrapeCity Documents for PDF (GcPdf) is a powerful PDF library providing a rich set of APIs which 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 includes powerful high-level features that enable developers to create PDF documents with complex layouts including tables, formatted text and graphics.
GcPdf comes with a full-featured JavaScript PDF viewer/editor control (GcPdfViewer).
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.
- Table layout engine for creating complex grid-based layouts with text and graphics.
- Encryption and security APIs, including incremental updates, PAdES, PKCS #12, ECDSA.
- Find text, get text map with exact coordinates of all text fragments.
- 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 PDFs for faster web viewing.
GcPdf is compatible with .NET 7, .NET 6, .NET Core 3.1, .NET Standard 2.x, .NET Framework 4.6.1 or higher.
All features are fully supported on Windows, macOS and Linux.
Resources
- GcPdf Demos
- GcPdfViewer Demos
- Getting Started
- License Information
- Licensing FAQ
- How to get Trial Keys
- Online Documentation
- Offline Documentation (PDF)
GrapeCity Document APIs
- Documents for PDF
- Documents for Word
- Documents for Imaging
- Documents for Excel, .NET
- Documents for Excel, Java
GrapeCity Document JavsScript Viewers
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- GrapeCity.Documents.Imaging (= 6.2.0)
- Portable.BouncyCastle (>= 1.8.2)
-
.NETStandard 2.0
- GrapeCity.Documents.Imaging (= 6.2.0)
- Portable.BouncyCastle (>= 1.8.2)
NuGet packages (27)
Showing the top 5 NuGet packages that depend on GrapeCity.Documents.Pdf:
Package | Downloads |
---|---|
GrapeCity.ActiveReports.Core.Export.Pdf.Page
ActiveReports PDF export library |
|
GrapeCity.ActiveReports.Export.Pdf
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 the core engine assemblies required to create and render pixel perfect, WYSIWYG, reports. |
|
GrapeCity.Documents.Excel
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 https://www.grapecity.com/documents-api-excel/demos |
|
GrapeCity.ActiveReports.Core.Export.Pdf.Section
ActiveReports RDF document PDF rendering implementation |
|
GrapeCity.ActiveReports.Web.Viewer
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, Blazor, 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 | Downloads | Last updated |
---|---|---|
7.2.3 | 2,623 | 10/9/2024 |
7.2.2 | 2,838 | 9/20/2024 |
7.2.1 | 798 | 9/3/2024 |
7.2.0 | 10,074 | 8/19/2024 |
7.1.4 | 4,124 | 7/24/2024 |
7.1.3 | 6,519 | 6/26/2024 |
7.1.2 | 24,068 | 5/29/2024 |
7.1.1 | 17,075 | 4/24/2024 |
7.1.0 | 26,513 | 4/15/2024 |
7.0.4 | 4,611 | 3/22/2024 |
7.0.3 | 4,907 | 2/21/2024 |
7.0.2 | 3,214 | 1/25/2024 |
7.0.1 | 4,111 | 1/5/2024 |
7.0.0 | 48,843 | 12/11/2023 |
6.2.5 | 14,889 | 11/23/2023 |
6.2.4 | 43,152 | 10/27/2023 |
6.2.3 | 20,564 | 9/28/2023 |
6.2.2 | 28,505 | 9/13/2023 |
6.2.1 | 23,836 | 8/17/2023 |
6.2.0 | 12,428 | 8/7/2023 |
6.1.5 | 10,934 | 7/12/2023 |
6.1.4 | 33,467 | 6/20/2023 |
6.1.3 | 7,845 | 6/1/2023 |
6.1.2 | 89,596 | 5/8/2023 |
6.1.0 | 32,482 | 4/16/2023 |
6.0.7 | 4,574 | 4/7/2023 |
6.0.6 | 55,519 | 3/23/2023 |
6.0.5 | 58,484 | 2/28/2023 |
6.0.4 | 13,242 | 2/6/2023 |
6.0.3 | 43,124 | 1/20/2023 |
6.0.2 | 9,798 | 1/3/2023 |
6.0.1 | 2,585 | 12/27/2022 |
6.0.0 | 67,816 | 12/12/2022 |
5.2.0.805 | 43,538 | 12/9/2022 |
5.2.0.804 | 27,710 | 11/2/2022 |
5.2.0.803 | 104,430 | 10/10/2022 |
5.2.0.802 | 81,604 | 9/16/2022 |
5.2.0.801 | 8,482 | 8/24/2022 |
5.2.0.800 | 32,093 | 8/15/2022 |
5.1.0.796 | 26,516 | 7/29/2022 |
5.1.0.795 | 4,054 | 7/15/2022 |
5.1.0.793 | 20,344 | 6/10/2022 |
5.1.0.792 | 8,612 | 5/23/2022 |
5.1.0.791 | 11,487 | 4/29/2022 |
5.1.0.790 | 48,363 | 4/19/2022 |
5.0.0.776 | 22,184 | 4/7/2022 |
5.0.0.775 | 21,804 | 3/21/2022 |
5.0.0.774 | 32,136 | 3/2/2022 |
5.0.0.773 | 6,021 | 2/16/2022 |
5.0.0.770 | 14,929 | 1/24/2022 |
5.0.0.767 | 15,790 | 12/24/2021 |
5.0.0.762 | 47,539 | 12/13/2021 |
4.2.0.727 | 170,581 | 12/3/2021 |
4.2.0.726 | 162,107 | 10/29/2021 |
4.2.0.722 | 10,923 | 10/13/2021 |
4.2.0.719 | 4,802 | 9/23/2021 |
4.2.0.717 | 14,529 | 8/31/2021 |
4.2.0.715 | 40,390 | 8/16/2021 |
4.1.0.664 | 4,078 | 8/6/2021 |
4.1.0.663 | 45,165 | 7/6/2021 |
4.1.0.662 | 6,163 | 6/16/2021 |
4.1.0.660 | 8,101 | 5/19/2021 |
4.1.0.658 | 8,964 | 4/27/2021 |
4.0.0.633 | 12,149 | 4/1/2021 |
4.0.0.632 | 8,715 | 2/24/2021 |
4.0.0.625 | 10,588 | 1/26/2021 |
4.0.0.623 | 2,934 | 1/8/2021 |
4.0.0.619 | 78,757 | 12/8/2020 |
4.0.0.616 | 6,800 | 11/19/2020 |
3.2.0.560 | 113,669 | 12/30/2020 |
3.2.0.559 | 7,498 | 12/4/2020 |
3.2.0.558 | 13,947 | 10/29/2020 |
3.2.0.556 | 15,911 | 9/29/2020 |
3.2.0.554 | 7,163 | 9/7/2020 |
3.2.0.553 | 2,503 | 9/4/2020 |
3.2.0.550 | 51,054 | 8/11/2020 |
3.2.0.548 | 7,905 | 7/20/2020 |
3.1.0.519 | 21,665 | 7/3/2020 |
3.1.0.518 | 7,810 | 6/18/2020 |
3.1.0.514 | 6,455 | 6/2/2020 |
3.1.0.513 | 7,709 | 5/7/2020 |
3.1.0.512 | 14,831 | 4/22/2020 |
3.1.0.511 | 8,951 | 4/9/2020 |
3.1.0.508 | 12,988 | 3/5/2020 |
3.0.0.420 | 16,549 | 1/13/2020 |
3.0.0.419 | 3,715 | 1/3/2020 |
3.0.0.418 | 7,848 | 12/8/2019 |
3.0.0.415 | 10,458 | 11/14/2019 |
3.0.0.414 | 7,201 | 10/24/2019 |
2.2.0.320 | 13,297 | 2/4/2020 |
2.2.0.319 | 20,272 | 11/7/2019 |
2.2.0.318 | 2,031 | 11/6/2019 |
2.2.0.317 | 2,400 | 10/12/2019 |
2.2.0.316 | 4,503 | 9/20/2019 |
2.2.0.315 | 6,734 | 8/21/2019 |
2.2.0.314 | 3,349 | 8/5/2019 |
2.2.0.312 | 7,817 | 7/11/2019 |
2.2.0.310 | 5,606 | 6/9/2019 |
2.1.0.267 | 3,416 | 4/24/2019 |
2.1.0.265 | 4,306 | 3/25/2019 |
2.1.0.263 | 2,892 | 3/12/2019 |
2.1.0.262 | 7,308 | 3/1/2019 |
2.1.0.260 | 3,531 | 1/25/2019 |
2.0.0.208 | 2,813 | 12/18/2018 |
2.0.0.207 | 5,840 | 12/5/2018 |
2.0.0.206 | 2,809 | 11/21/2018 |
2.0.0.205 | 2,919 | 11/13/2018 |
2.0.0.201 | 3,047 | 10/24/2018 |
2.0.0.200 | 3,336 | 9/28/2018 |
1.0.0.107 | 5,385 | 5/15/2018 |
1.0.0.105 | 4,190 | 5/1/2018 |
0.3.0.81-beta01 | 2,323 | 3/12/2018 |
0.3.0.71-beta01 | 1,915 | 2/24/2018 |
0.3.0.70-beta01 | 1,976 | 2/9/2018 |
# Changes since version 6.1.5:
## Breaking Changes
- The stream that is passed to one of GcPdfDocument.Load() method overloads must be kept open while the loaded GcPdfDocument is in use.
- If using GcPdfDocument.MergeWithDocument(), the passed GcPdfDocument is effectively in use while the current document is in use. If it was loaded from a stream, that stream must be kept open too.
- Several existing collection properties can no longer be modified in place (see below). Instead, create a new instance of the collection and assign it to the property.
- WidgetAnnotation.TextFormat property removed (previously it was obsolete).
- GrapeCity.Documents.Pdf.Layers.OptionalContentOrderCollection class is now derived from PdfCollection<IPdfObject> (previously it was derived from List<object>).
- GrapeCity.Documents.Pdf.AcroForms.SignatureLockedFields.FieldNames property type changed from ObservableCollection<string> to IEnumerable<string>. To change the value, create a new instance of the collection and assign it to the property.
- GrapeCity.Documents.Pdf.SoundObject.EncodingFormat property type changed from string to IPdfName.
- GrapeCity.Documents.Pdf.Text.CMap.CMap class renamed to CMapTable, CMapBase class removed.
- GrapeCity.Documents.Pdf.Actions.ActionHide.LinkedObjects property type changed from List<object> to LinkedObjectCollection. To change the value, create a new instance of the collection and assign it to the property.
- GrapeCity.Documents.Pdf.Actions.ActionFieldsBase.FieldNames property changed from List<string> FieldNames { get; } to IList<IFieldDef> Fields { get; }.
- Properties ViewerPreferences.PageMode and ViewerPreferences.PageLayout marked as obsolete, corresponding properties are now available directly on GcPdfDocument: GcPdfDocument.PageMode and GcPdfDocument.PageLayout.
- Property WidgetAnnotation.TriggerEvents.Activate marked as obsolete, corresponding property is now available directly on WidgetAnnotation: WidgetAnnotation.Activate.
- GrapeCity.Documents.Pdf.Annotations.PolygonAnnotationBase.Points property type changed from IList<PointF> to IReadOnlyList<PointF>. To change the value, create a new instance of the collection and assign it to the property.
- GrapeCity.Documents.Pdf.Annotations.ImageScale class is now derived from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper (previously it was derived from NotifyObject).
- GrapeCity.Documents.Pdf.Annotations.ButtonAppearance.Image property type changed from object to IXObject. IXObject is a common interface for FormXObject and PdfImageObjectBase. An IImage can be assigned to this property using PdfImageHandler: doc.ImageHandlers.GetImageHandler(someBitmap).
- GrapeCity.Documents.Pdf.Annotations.InkAnnotation.Paths property type changed from ObservableCollection<PointF[]> to IReadOnlyList<IReadOnlyLust<PointF>>. To change the value, create a new instance of the collection and assign it to the property.
- GrapeCity.Documents.Pdf.Annotations.TextMarkupAnnotation.Area property type changed from ObservableCollection<Quadrilateral> to IReadOnlyList<Quadrilateral>. To change the value, create a new instance of the collection and assign it to the property.
- GrapeCity.Documents.Pdf.Annotations.RedactAnnotation.Area property type changed from ObservableCollection<Quadrilateral> to IReadOnlyList<Quadrilateral>. To change the value, create a new instance of the collection and assign it to the property.
- Now even if an annotation belongs to several pages, its vertical coordinate is converted to the GcPdf top/left coordinate system using the media box of the first page in the annotation's Pages collection. The AnnotationBase.PdfRect property provides access to native PDF coordinates.
- GrapeCity.Documents.Pdf.Structure.StructElement.ID property type changed from IList<byte> to IPdfString.
- PdfIndirectSerializableObject class was removed, the GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase and its descendants can be used instead.
- PdfDict class is now derived from Dictionary<PdfName, IPdfObject> (previously it was derived from Dictionary<string, object>). Instead of using a string directly, use new PdfName(string) instead.
- GcPdfDocument.NamedDestinations property type changed from IDictionary<string, Destination> to IDictionary<string, IDestination>. The IDestination interface is common to Destination and ActionGoTo classes.
- PdfLang type was removed, all properties that previously had that type are now of the type string.
- ICCProfile.IsSame() method was removed.
- GrapeCity.Documents.Pdf.Annotations.UnknownAnnotation.Subtype property type changed from string to PdfName.
- PdfDictWrapperObject class was removed, use PdfDictWrapper instead.
- CheckBoxField.ValueObj property behavior changed, now it returns Boolean true if all widgets of the CheckBoxField use the same name for appearance stream used to display a checked state. Previously it returned "Off" if field was unchecked, or the name of the checked appearance stream. Use PdfValue property to get the PdfName used to hold value.
## Changed
- GcPdfDocument.Load() method now implements lazy loading of PDF objects. This provides several advantages, including: improved compatibility with PDFs produced by various vendors, custom content unknown to GcPdf is preserved as is, improved average load speed. (DOC-1781)
## Added
- Ability to open/modify (with limitations) password a protected PDF without specifying the password, see GcPdfDocument.Load(stream, DecryptionOptions) overload. (DOC-3410)
- Helper methods to TextBoxField, ComboBoxField and CombTextField: SetPercentFormat(), SetPercentValue(), SetNumberFormat(), SetNumberValue(), SetDateFormat(), SetDateValue(), SetTimeFormat(), SetTimeValue(), SetSpecialFormat(), SetSpecialFormatValue(). (DOC-5076)
- Ability to generate custom time-stamp tokens. The new ITimeStampGenerator interface can be implemented by user and assigned to SignatureProperties.TimeStamp and TimeStampProperties.TimeStamp.
## Fixed
- Several issues related to errors when opening existing PDFs. (DOC-2111, DOC-3923, DOC-4096, DOC-5461)