2011-04-01 42 views
2

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

回答

4

从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; 
+0

我无法相信我错过了,我看上去至少10倍。感谢您的帮助,并请原谅我对细节的关注。 – grivescorbett 2011-04-05 04:09:56

+0

@grivescorbett:没有道歉的必要;我也不知道,所以我学到了一些东西,我很高兴我的帮助。 – 2011-04-05 06:29:43