initWithDocument:

Initializer for subclasses of PDFPage.

Declaration

- (id)initWithDocument:(PDFDocument *)document

Overview

Subclasses of PDFPage must handle several methods that are transparently handled when using the PDFPage class directly, including boundsForBox and drawInRect:withBox:.

See Also

Initializing a Page

- initWithImage:

Creates a new PDFPage object and initializes it with the specified NSImage object.