GcDocs.Pdf
7.1.0
See the version list below for details.
dotnet add package GcDocs.Pdf --version 7.1.0
NuGet\Install-Package GcDocs.Pdf -Version 7.1.0
<PackageReference Include="GcDocs.Pdf" Version="7.1.0" />
paket add GcDocs.Pdf --version 7.1.0
#r "nuget: GcDocs.Pdf, 7.1.0"
// Install GcDocs.Pdf as a Cake Addin #addin nuget:?package=GcDocs.Pdf&version=7.1.0 // Install GcDocs.Pdf as a Cake Tool #tool nuget:?package=GcDocs.Pdf&version=7.1.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 | 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
- BouncyCastle.Cryptography (>= 2.2.1)
- GcDocs.Imaging (= 7.1.0)
-
.NETStandard 2.0
- BouncyCastle.Cryptography (>= 2.2.1)
- GcDocs.Imaging (= 7.1.0)
NuGet packages (12)
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.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 处理和渲染功能。 |
|
GCCN.ActiveReports.Core.Export.Pdf.Page
ActiveReports PDF export library |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
7.2.5 | 74 | 11/27/2024 |
7.2.4 | 169 | 10/23/2024 |
7.2.3 | 550 | 10/9/2024 |
7.2.2 | 604 | 9/20/2024 |
7.2.1 | 289 | 9/3/2024 |
7.2.0 | 1,216 | 8/19/2024 |
7.1.4 | 192 | 7/24/2024 |
7.1.3 | 320 | 6/26/2024 |
7.1.2 | 772 | 5/29/2024 |
7.1.1 | 346 | 4/24/2024 |
7.1.0 | 615 | 4/15/2024 |
7.0.4 | 290 | 3/22/2024 |
7.0.3 | 256 | 2/19/2024 |
7.0.2 | 279 | 1/25/2024 |
7.0.1 | 306 | 1/5/2024 |
7.0.0 | 1,277 | 12/11/2023 |
# 重要信息
- 这是 GcDocs.Pdf 软件包的首次发布,该软件包由 GrapeCity.Documents.Pdf 更名而来。
- GcDocs.Pdf 与 GrapeCity.Documents.Pdf 的功能保持一致,并且与 GrapeCity.Documents.Pdf 保持兼容,未来我们将持续对 GcDocs.Pdf 添加新功能并进行维护。
- GcDocs.Pdf 与 GrapeCity.Documents.Pdf 使用相同的授权策略,如果在您的升级中,遇到任何授权问题,可以发送邮件至 info.xa@grapecity.com 联系我们获取帮助。
# Changes since version 7.0.4:
## Added
- Class RichMediaAnnotation: Represents a rich media annotation. (DOC-1069)
- Class RichMediaAnnotationActivation: Specifies the activation conditions of a RichMediaAnnotation.
- Class RichMediaAnnotationDeactivation: Specifies the deactivation conditions of a RichMediaAnnotation.
- Class RichMediaAnnotationPresentationStyle: Defines possible values for RichMediaAnnotation.PresentationStyle.
- Enumeration RichMediaAnnotationContentType: Defines possible types of RichMediaAnnotation content.
- Method GcPdfDocument.RemoveDuplicateImages: Removes images with identical content from the current document. (DOC-6087)
- Property MergeDocumentOptions.RemoveDuplicateImages: Gets or sets a value indicating whether to remove duplicate images after merging. (DOC-6087)
- Method GcGraphics.DrawRotatedText(): Draws rotated text inside an unrotated rectangle (similar to how MS Excel draws rotated text in borderless cells). (DOC-5997)
- Method GcGraphics.DrawSlantedText(): Draws rotated text inside a slanted rectangle (similar to how MS Excel draws rotated text in cells with borders). (DOC-5997)
- Method GcGraphics.MeasureRotatedText(): Calculates the bounds of rotated text inside an unrotated rectangle. (DOC-5997)
- GcPdfDocument.GetImages method overload that allows including unreferenced images (by default they are not included).
## Fixed
- Null reference exception occurs when merging a certain PDF with other PDFs. (DOC-6126)
- Cannot save pages of a specific PDF as images. (DOC-6153)