cocoa - 在 Cocoa 中处理 PDF

标签 cocoa pdf pdfkit

我想知道是否有一种方法可以使用 PDFKit 中的更简单的类(PDFDocument、PDFPage),并且仍然获取对较低级别 CGPDFDocumentRef 对象的引用。有谁知道这是否可能?

最佳答案

来自 PDFDocument.h:

// This is the CGPDFDocument associated with the PDFDocument 
// object.  With this object you can call many CoreGraphics 
// API. May return NULL if the document was not created from 
// an existing PDF file or data.
- (CGPDFDocumentRef) documentRef;

关于cocoa - 在 Cocoa 中处理 PDF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5519918/

相关文章:

ios - 如何使用 ios pdfkit 显示现有的 pdf 注释

node.js - 如何: output Euro symbol in pdfkit for nodejs

cocoa - SQLite3 : "Database is locked" error

Cocoa - 捕获 NSStatusItem 鼠标悬停事件

java - iText - 获取文本段的字体大小和系列

delphi - DELPHI 2007 的 PDF 压缩器

cocoa - cocoa 应用程序 main() 函数去哪里?

cocoa - 正确的日期格式

pdf - 如何在旋转的 PDF 中旋转文本和图像?

javascript - 无法使用 pdfkit.js 加载日语字体 Err : Not a supported font format or standard PDF font