NSPDFImageRep

NSPDFImageRep Mac OS X 10.0

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

figs/cocn_1563.gif

@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;



    Part II: API Quick Reference
    Chapter 13. Foundation Classes