Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exporting PDF ...



On 8 Aug 2008, at 09:31, Brasseur Valery wrote:

I need to export PDF from a Cocoa application...

what is the best way to do it :

+ using Print/Save AS PDF

+ using the PDF kit, subclassing PDFPage

+ using other library

That depends on how much control you need.

If your application can print, then it can automatically print to PDF, so no extra effort is needed to support that. PDFKit is a relatively easy to implement option that gives you a fair amount of control. If you need more control you may want to dig down into the Quartz PDF related APIs (like CGPDFDocument and CGPDFPage). Third party PDF libraries are available, but I cannot advise you about those.

António

----------------------------------------------------
Energy is like a muscle,
it grows stronger through being used.
----------------------------------------------------


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >exporting PDF ... (From: Brasseur Valery <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.