Class

NSPDFImageRep

An object that can render an image from a PDF format data stream.

Declaration

@interface NSPDFImageRep : NSImageRep

Topics

Creating an NSPDFImageRep

+ imageRepWithData:

Creates and returns an NSPDFImageRep object initialized with the specified PDF data.

- initWithData:

Returns an NSPDFImageRep object initialized with the specified PDF data.

Getting Image Data

bounds

The receiver's bounding rectangle.

currentPage

The page currently displayed by the image representation.

pageCount

The number of pages in the receiver.

PDFRepresentation

The PDF representation of the receiver's image.

Relationships

Inherits From

See Also

Vector Formats

NSPDFInfo

An object that stores information associated with the creation of a PDF file, such as its URL, tag names, page orientation, and paper size.

NSEPSImageRep

An object that can render an image from encapsulated PostScript (EPS) code.