• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PDFDocument and CGPDFDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: PDFDocument and CGPDFDocument
      • From: Graham Cox <email@hidden>
References: 
 >PDFDocument and CGPDFDocument (From: Graham Cox <email@hidden>)

  • Prev by Date: Extending NSTextStorage
  • Next by Date: Re: Why NSClassFromString(@"CADisplayLink")?
  • Previous by thread: PDFDocument and CGPDFDocument
  • Next by thread: Re: PDFDocument and CGPDFDocument
  • Index(es):
    • Date
    • Thread