• 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: How do you create a new PDF file and write text to it? LOOKS LIKE ITS SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you create a new PDF file and write text to it? LOOKS LIKE ITS SOLVED


  • Subject: Re: How do you create a new PDF file and write text to it? LOOKS LIKE ITS SOLVED
  • From: Paul Archibald <email@hidden>
  • Date: Wed, 6 Aug 2008 11:59:10 -0700

Dude!

That does look simple. I figured it would be.

Thanks,
Paul


On Aug 6, 2008, at 11:42 AM, Charles Steinman wrote:

--- On Wed, 8/6/08, Paul Archibald <email@hidden> wrote:

It looks like PDFKit is aimed at simply reading and
navigating within
an existing PDF file, but what I need to do is create a new
PDF and
write some simple text to it. I know that the Preview app
does that
for a lot of apps, but I would like to bypass that, too. I
simply
want my app to create a PDF file, open it for writing,
write some
simple text to it, and save it to disk.

Easiest way: Create a view that draws what you want, send it - dataWithPDFInsideRect: and write that data to a file.


Cheers,
Chuck





_______________________________________________

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: 
 >Re: How do you create a new PDF file and write text to it? (From: Charles Steinman <email@hidden>)

  • Prev by Date: Re: How do you create a new PDF file and write text to it?
  • Next by Date: Re: How do you create a new PDF file and write text to it?
  • Previous by thread: Re: How do you create a new PDF file and write text to it?
  • Next by thread: Re: How do you create a new PDF file and write text to it?
  • Index(es):
    • Date
    • Thread