Re: How do you create a new PDF file and write text to it? LOOKS LIKE ITS SOLVED
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