java.io.Serializable
, java.lang.Comparable<PDViewerPreferences.BOUNDARY>
public static enum PDViewerPreferences.BOUNDARY extends java.lang.Enum<PDViewerPreferences.BOUNDARY>
Enum Constant | Description |
---|---|
ArtBox |
use art box as boundary.
|
BleedBox |
use bleed box as boundary.
|
CropBox |
use crop box as boundary.
|
MediaBox |
use media box as boundary.
|
TrimBox |
use trim box as boundary.
|
Modifier and Type | Method | Description |
---|---|---|
static PDViewerPreferences.BOUNDARY |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PDViewerPreferences.BOUNDARY[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDViewerPreferences.BOUNDARY MediaBox
public static final PDViewerPreferences.BOUNDARY CropBox
public static final PDViewerPreferences.BOUNDARY BleedBox
public static final PDViewerPreferences.BOUNDARY TrimBox
public static final PDViewerPreferences.BOUNDARY ArtBox
public static PDViewerPreferences.BOUNDARY[] values()
for (PDViewerPreferences.BOUNDARY c : PDViewerPreferences.BOUNDARY.values()) System.out.println(c);
public static PDViewerPreferences.BOUNDARY valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null