CPDFDisplayBox Constants Reference

Declared in CPDFPage.h

CPDFDisplayBox

The following box types may be used with CPDFPage drawing and bounds-setting methods. See the Adobe PDF Specification for more information on box types, units, and coordinate systems.

Definition

typedef NS_ENUM(NSInteger, CPDFDisplayBox ) {
   CPDFDisplayMediaBox = 0,
   CPDFDisplayCropBox = 1,
   CPDFDisplayBleedBox = 2,
   CPDFDisplayTrimBox = 3,
   CPDFDisplayArtBox = 4,
};

Constants

CPDFDisplayMediaBox

A rectangle defining the boundaries of the physical medium for display or printing, expressed in default user-space units.

Declared In CPDFPage.h.

CPDFDisplayCropBox

A rectangle defining the boundaries of the visible region , expressed in default user-space units. Default value equal to CPDFDisplayMediaBox.

Declared In CPDFPage.h.

CPDFDisplayBleedBox

A rectangle defining the boundaries of the clip region for the page contents in a production environment. Default value equal to CPDFDisplayCropBox.

Declared In CPDFPage.h.

CPDFDisplayTrimBox

A rectangle defining the intended boundaries of the finished page. Default value equal to CPDFDisplayCropBox.

Declared In CPDFPage.h.

CPDFDisplayArtBox

A rectangle defining the boundaries of the page’s meaningful content including surrounding white space intended for display. Default value equal to CPDFDisplayCropBox.

Declared In CPDFPage.h.

Declared In

CPDFPage.h