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 (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to