Re: PDFDocument and CGPDFDocument
Re: PDFDocument and CGPDFDocument
- Subject: Re: PDFDocument and CGPDFDocument
- From: Antonio Nunes <email@hidden>
- Date: Wed, 11 May 2011 09:33:55 +0100
On 11 May 2011, at 03:59, Graham Cox wrote:
> Are CGPDFDocument and PDFDocument toll-free bridged? If not, how can I get a PDFDocument from a CGPDFDocumentRef?
They are not toll-free bridged.
> I need to use the lower level API to extract graphic entities from a PDF, but I'd like to use PDFKit up-front to implement a page chooser.
How about opening the document with PDFKit to start with, and then ask the obtained PDFDocument for its documentRef when you need to get submerged. I don't think you can go the other way.
The 'documentRef' is in the PDFDocument header file.
- (CGPDFDocumentRef) documentRef;
I did not find it in the docs. Apple's doc team alerted.
Best,
António
-----------------------------------------------
Touch is a language without words
-----------------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden