public final enum

PdfBox

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pspdfkit.document.PdfBox

Class Overview

Types of supported PDF page boxes.

Summary

Enum Values
PdfBox  BLEED_BOX  A rectangle, expressed in default user space units, that shall define the region to which the contents of the page shall be clipped when output in a production environment. 
PdfBox  CROP_BOX  The crop box defines the region to which the contents of the page shall be clipped (cropped) when displayed or printed. 
PdfBox  MEDIA_BOX  The media box defines the boundaries of the physical medium on which the page is to be printed. 
PdfBox  TRIM_BOX  A rectangle, expressed in default user space units, that shall define the intended dimensions of the finished page after trimming. 
Public Methods
static PdfBox valueOf(String name)
final static PdfBox[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PdfBox BLEED_BOX

A rectangle, expressed in default user space units, that shall define the region to which the contents of the page shall be clipped when output in a production environment.

public static final PdfBox CROP_BOX

The crop box defines the region to which the contents of the page shall be clipped (cropped) when displayed or printed. Unlike the other boxes, the crop box has no defined meaning in terms of physical page geometry or intended use; it merely imposes clipping on the page contents. However, in the absence of additional information (such as imposition instructions specified in a JDF or PJTF job ticket), the crop box determines how the page’s contents shall be positioned on the output medium (including PSPDFKit itself). The default value is the page’s media box.

public static final PdfBox MEDIA_BOX

The media box defines the boundaries of the physical medium on which the page is to be printed. It may include any extended area surrounding the finished page for bleed, printing marks, or other such purposes. It may also include areas close to the edges of the medium that cannot be marked because of physical limitations of the output device. Content falling outside this boundary may safely be discarded without affecting the meaning of the PDF file.

public static final PdfBox TRIM_BOX

A rectangle, expressed in default user space units, that shall define the intended dimensions of the finished page after trimming.

Public Methods

public static PdfBox valueOf (String name)

public static final PdfBox[] values ()