Re: Saving an annotated PDF to a flat image
Re: Saving an annotated PDF to a flat image
- Subject: Re: Saving an annotated PDF to a flat image
- From: John Calhoun <email@hidden>
- Date: Thu, 25 Sep 2008 11:37:30 -0700
On Sep 25, 2008, at 3:24 AM, Danny Greg wrote:
Just to up the anti, what do I need to do to save the annotations to
a proper PDF, (ie keeping all its text, link properties etc). I
tried to save off the page's data representation but no matter what
I do it never contains any annotations! Again, I need to accomplish
this without opening the PDF up in a PDFView.
Okay, I'll ante up. :-)
PDFDocument has methods for saving PDF's – since Leopard, annotations
are preserved as annotations.
PDFPage has methods for adding, removing annotations.
The PDFAnnotation classes ave initializers so that annotations can be
created.
PDFView is really just a view. While it has a lot of convenience
methods to aid in PDF viewing, the real functionailty of PDF Kit is in
the other classes.
John Calhoun—_______________________________________________
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