• 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: "Save as PDF"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Save as PDF"?


  • Subject: Re: "Save as PDF"?
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 14 Oct 2009 12:15:18 +1000

On 14/10/2009, at 12:02 PM, Laurent Daudelin wrote:

> Thanks, Aaron. I'll check out the links you mention. But I'm wondering what's happening in general, in all applications, what is the process of drawing an NSView, NSText and so on to end up with a PDF document, not from my own application perspective. In other words, would it be possible to instruct a given application to print a document to a PDF file automatically, without intervention from the user? The functionality is there as you can do it from the print dialog, but I'm wondering if it can be programmatically be done.


PDF is a fundamental part of the Mac OS X Quartz drawing architecture. If you draw something to a view, you can get a PDF representation of it. Have a look at the -dataWithPDFInsideRect: method of NSView.

--
Rob Keniger



_______________________________________________

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

References: 
 >"Save as PDF"? (From: Laurent Daudelin <email@hidden>)
 >Re: "Save as PDF"? (From: Aaron Tuller <email@hidden>)
 >Re: "Save as PDF"? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: "Save as PDF"?
  • Next by Date: Cocoaheads Lake Forest (92630) meeting 10/14/2009 at 7 pm on Objective C Blocks
  • Previous by thread: Re: "Save as PDF"?
  • Next by thread: Cocoaheads Lake Forest (92630) meeting 10/14/2009 at 7 pm on Objective C Blocks
  • Index(es):
    • Date
    • Thread