• 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: PDFKit questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >PDFKit questions (From: Matthew Weinstein <email@hidden>)

  • Prev by Date: Re: Core Data Based Application Bug?
  • Next by Date: RE: ComboBox Questions
  • Previous by thread: PDFKit questions
  • Next by thread: Re: Cocoa-dev Digest, Vol 2, Issue 1205Re: ComboBox Questions
  • Index(es):
    • Date
    • Thread