GcDocs.Pdf 8.0.0

dotnet add package GcDocs.Pdf --version 8.0.0                
NuGet\Install-Package GcDocs.Pdf -Version 8.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GcDocs.Pdf" Version="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GcDocs.Pdf --version 8.0.0                
#r "nuget: GcDocs.Pdf, 8.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GcDocs.Pdf as a Cake Addin
#addin nuget:?package=GcDocs.Pdf&version=8.0.0

// Install GcDocs.Pdf as a Cake Tool
#tool nuget:?package=GcDocs.Pdf&version=8.0.0                

GcDocs.PDF

GcDocs.PDF (GcPdf) 是一个强大的 PDF 库,提供了丰富的 API,允许开发人员在 C# 或 VB.NET 代码中进行快速和内存高效的 PDF 处理。GcPdf 的核心对象模型遵循 PDF 规范,提供了对 PDF 元素(如文档属性、页面、字体、注释等)的编程访问。

GcPdf 还包括强大的高级功能,使开发人员能够创建具有复杂布局的 PDF 文档,包括表格、格式化文本和图形等。

功能包括:

  • 以编程方式创建、加载、修改、保存或检查 PDF。
  • 支持不同的 PDF 标准,包括 ISO 32000(PDF 2.0)。
  • 将 PDF 导出为 BMP、GIF、JPEG、PNG 或 TIFF 图像格式。
  • 合并或拆分 PDF 文档。
  • 强大的文本格式化和布局引擎,完全支持多语言,包括阿拉伯语中的 RTL(带有 Kashida)和竖排文本、Tate Chu Yoko、文字环绕对象等。
  • 高级文本渲染功能,包括支持 Adobe Type 1 字体和 OpenType CJK 字体中的位图字形。
  • 字体嵌入和子集化,支持 TrueType、OpenType 和 WOFF 字体。
  • 将光栅(BMP、GIF、ICO、JPEG、JPEG 2000、PNG、TIFF)或矢量(SVG、SVGZ)图像添加到 PDF。
  • 实时创建 SVG 图像,或使用提供的 SVG DOM(文档对象模型)修改现有的 SVG。
  • 在渲染 PDF 页面时支持所有常见的图形绘制和填充操作。
  • 表格布局引擎,用于创建具有文本和图形的复杂基于网格的布局。
  • 加密和安全 API,包括增量更新、PAdES、PKCS #12、ECDSA。
  • 查找文本,获取具有所有文本片段的精确坐标的文本映射。
  • 使用结构标签或启发式算法分析 PDF,提取逻辑段落和表格数据。
  • 以编程方式创建和应用消除敏感数据的隐藏。
  • 支持可选的 PDF 内容(层)。
  • 创建、修改、填充或压平 AcroForms(PDF 表单)。
  • 为了更快的网络查看,将 PDF 线性化。

GcPdf 兼容 .NET 7、.NET 6、.NET Core 3.1、.NET Standard 2.x、.NET Framework 4.6.1 或更高版本。

所有功能在 Windows、macOS 和 Linux 上均得到完全支持。

相关资源

GcDocs 服务端组件

Product 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 was computed.  net462 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (15)

Showing the top 5 NuGet packages that depend on GcDocs.Pdf:

Package Downloads
GcDocs.Excel

GrapeCity Documents for Excel (简称:GcExcel)是一款基于 .NET 和 .NET Framework 平台的服务端高性能表格组件,可与 纯前端表格控件 SpreadJS 前后端兼容,无需依赖 Office、NPOI 或第三方应用软件,在前端展示表格数据,在服务端批量创建、加载、编辑、打印、导入/导出 Excel 文档,为您开发的应用程序提供在线文档的前后端数据同步、在线填报与服务端批量导出与打印,以及类 Excel 报表模板设计与服务端高性能处理等一整套 类 Excel 全栈解决方案。 产品文档: https://www.grapecity.com.cn/developer/grapecitydocuments/excel-net

GcDocs.Pdf.ViewerSupportApi

该软件包实现了 GcDocs PDF Viewer(GcPdfViewer)的服务器端支持 API。您可以在 https://www.npmjs.com/search?q=GcPdfViewer 上找到更多相关信息。

GcDocs.Word

GcDocs.Word(GcWord)是一个跨平台的库,用于创建、分析和修改 Office Word 文档,无需依赖于 MS Office。它提供了一个强大且方便的对象模型(基于 Open XML SDK),可访问文档内容和属性,例如页面设置、页眉和页脚等。 GcWord 对象模型旨在使在代码中处理 Office Word 文档更加简单和方便。例如,GcWord 的范围概念允许您创建访问器对象,即使在修改文档时,这些对象也会保持与指定部分内容的关联。 此外,GcWord 提供了一个独立于平台的布局引擎,支持将 Word 文档呈现和导出为 PDF 和图像格式(https://www.nuget.org/packages/GcDocs.Word.Layout/)。 GcWord 与。NET 7、.NET 6、.NET 5、.NET Core 3.x 和 2.x、。NET Standard 2.x、.NET Framework 4.6.1 或更高版本兼容。所有功能在 Windows、macOS 和 Linux 上都得到完全支持。 在线演示浏览器可在 https://demo.grapecity.com.cn/GcWord/上访问。

GcDocs.Word.Layout

这是一个为 GcDocs.Word(GcWord)提供文档布局服务的跨平台库。 将此库添加到使用 GcWord 的项目中,可以使用 GcWordDocument.SaveAsPdf() 和其他方法将 Word 文档导出为 PDF 和图像格式(TIFF、JPEG、PNG)。 该库不依赖于 MS Office,并与。NET 7、.NET 6、.NET 5、.NET Core 3.x 和 2.x、。NET Standard 2.x、.NET Framework 4.6.1 或更高版本兼容。所有功能在 Windows、macOS 和 Linux 上都得到完全支持。 使用此库从 Word 文档生成 PDF 和图像的在线演示浏览器可在 https://demo.grapecity.com.cn/GcWord/ 上访问。

GcDocs.Html

这是一个跨平台库,为其他 GcDocs 软件包(GcDocs.Pdf、GcDocs.Imaging)提供 HTML 处理和渲染功能。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0 242 12/9/2024
7.2.5 183 11/27/2024
7.2.4 182 10/23/2024
7.2.3 568 10/9/2024
7.2.2 698 9/20/2024
7.2.1 298 9/3/2024
7.2.0 1,290 8/19/2024
7.1.4 201 7/24/2024
7.1.3 335 6/26/2024
7.1.2 780 5/29/2024
7.1.1 352 4/24/2024
7.1.0 624 4/15/2024
7.0.4 296 3/22/2024
7.0.3 265 2/19/2024
7.0.2 285 1/25/2024
7.0.1 312 1/5/2024
7.0.0 1,283 12/11/2023

# Changes since version 7.2.5:

## Breaking changes
- The 'net461' .NET Framework target changed to 'net462'. (DOC-6551)
- Property RedactOptions.RenderOptions.EnableFontHinting has been removed.

## Changed
- Optimized the use of PDF text output operators in order to reduce the PDF file size. (DOC-6366)

## Added
- Use one byte character encoding if possible, see PdfFontFormat (can be reverted to two byte encoding in user code). (DOC-6366)
- PdfFontFormat enum: specifies available formats used to represent a font in a PDF document.
- GcPdfDocument.PdfFontFormat property: gets or sets the format used to represent fonts in the current document.
- FontHandler.PdfFontFormat property: gets or sets the format used to represent the font in a document.
- Added the ability for precise control over which annotations to include when saving a PDF page as image. (DOC-6519)
- SaveAsImageOptions.DrawAnnotationFilterCallback delegate: represents a delegate that defines the method signature for deciding which annotations to draw.
- SaveAsImageOptions.DrawAnnotationFilter property: gets or sets a callback method that will be used to decide which annotations to draw.
- RedactOptions.CopyImagesOnRedact property: indicates whether images within the redacted area that also appear in other locations will be copied before applying the redact. (DOC-6529)
- Added the ability to use object streams when saving a PDF, which can significantly reduce the file size of the PDF. (DOC-4293)
- UseObjectStreams enum: defines how to use object streams when saving a PDF document.
- SavePdfOptions class: represents options used by the GcPdfDocument.Save(), GcPdfDocument.Sign() and GcPdfDocument.TimeStamp() methods.
- SavePdfOptions.PdfStreamHandling property: controls how existing PDF streams will be handled when the document is saved.
- SavePdfOptions.Mode property: specifies the PDF save mode.
- SavePdfOptions.UseObjectStreams property: indicates whether to use object streams when saving the PDF.

## Fixed
- Several issues related to text output. (DOC-6534, DOC-6538)