Re: PDFKit questions
Re: PDFKit questions
- Subject: Re: PDFKit questions
- From: Nicko van Someren <email@hidden>
- Date: Fri, 5 Aug 2005 16:04:51 +0100
On 5 Aug 2005, at 15:53, Matthew Weinstein wrote:
Is there any way of creating a *New* empty pdf document using
pdfKit. I've tried using a straightforward [[PDFDocument alloc]
init] but that just returns nil.
Similarly, is there any way to make a "blank" page?
You could make an NSPDFImageRep, set the size to the desired page
size and then call PDFRepresentation to get back an NSData that you
could pass into PDFDocument using initWithData:
Nicko
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden