Configurations

Define display modes, scaling, rendering, printing and graphics properties.

Topics

Working with Display Modes and Characteristics

displayMode

The current display mode.

PDFDisplayMode

A wrapper for the chosen display mode constant.

Additional Display Configurations

Operations for setting up page breaks, a display box, and display direction.

Book Display

Operations to setup a book display for a PDF view.

Graphics Properties

Operations to define the background color, antialiasing, and greeking for a PDF view.

Scaling the View

scaleFactor

The current scale factor for the view.

scaleFactorForSizeToFit

The "size to fit" scale factor that autoScales would use for scaling the current document and layout.

maxScaleFactor

The maximum scaling factor for the PDF document.

minScaleFactor

The minimum scaling factor for the PDF document.

autoScales

A Boolean value indicating whether autoscaling is set.

- rowSizeForPage:

Returns the size needed to display a row of the current document page.

Zoom Operations

Zoom operations for a PDF View.

Rendering the View and Printing

- drawPage:

Draw and render a visible page.

Deprecated
- drawPagePost:

Perform post-page rendering.

Deprecated
- printWithInfo:autoRotate:

Prints the document with the specified printer information.

- printWithInfo:autoRotate:pageScaling:

Prints the document with the specified printer and page-scaling information.

Specializing the View

documentView

The innermost view used by PDFView or by your PDFView subclass.

- layoutDocumentView

Performs layout of the inner views.

Draw Operations

Draw in a PDF page.