Name

NSPDFImageRep — Mac OS X 10.0

Synopsis

This is a subclass of NSImageRep that understands how to manipulate, represent, and draw PDF-formatted image data.

image with no caption

@interface NSPDFImageRep : NSImageRep
                                  // Initializers
   - (id)initWithData:(NSData*)pdfData;
                                  // Class Methods
   + (id)imageRepWithData:(NSData*)pdfData;
                                  // Instance Methods
   - (int) currentPage;
   - (int) pageCount;
   - (void)setCurrentPage:(int)page;
   - (NSData*)PDFRepresentation;
   - (NSRect)bounds;

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.