Package net.webpdf.wsclient.openapi
Enum MetadataViewerPreferences.PrintClipEnum
- java.lang.Object
-
- java.lang.Enum<MetadataViewerPreferences.PrintClipEnum>
-
- net.webpdf.wsclient.openapi.MetadataViewerPreferences.PrintClipEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MetadataViewerPreferences.PrintClipEnum>
- Enclosing class:
- MetadataViewerPreferences
public static enum MetadataViewerPreferences.PrintClipEnum extends Enum<MetadataViewerPreferences.PrintClipEnum>
Selects the visible box, when displaying the document. * media\\_box = The page's physical dimensions. * crop\\_box = The visible (printable) page area. * bleed\\_box = Untrimmed content position on the page (content dimensions plus trim box). * trim\\_box = Trimmed content position on the page (final content dimensions). * art\\_box = Position for special page content (images).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataViewerPreferences.PrintClipEnumfromValue(String value)StringgetValue()StringtoString()static MetadataViewerPreferences.PrintClipEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MetadataViewerPreferences.PrintClipEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEDIABOX
public static final MetadataViewerPreferences.PrintClipEnum MEDIABOX
-
CROPBOX
public static final MetadataViewerPreferences.PrintClipEnum CROPBOX
-
BLEEDBOX
public static final MetadataViewerPreferences.PrintClipEnum BLEEDBOX
-
TRIMBOX
public static final MetadataViewerPreferences.PrintClipEnum TRIMBOX
-
ARTBOX
public static final MetadataViewerPreferences.PrintClipEnum ARTBOX
-
-
Method Detail
-
values
public static MetadataViewerPreferences.PrintClipEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MetadataViewerPreferences.PrintClipEnum c : MetadataViewerPreferences.PrintClipEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetadataViewerPreferences.PrintClipEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MetadataViewerPreferences.PrintClipEnum>
-
fromValue
public static MetadataViewerPreferences.PrintClipEnum fromValue(String value)
-
-