public enum PaperType extends Enum<PaperType>
Enum Constant and Description |
---|
A2
A2 (16.54 inch X 23.39 inch).
|
A3
A3 (11.69 inch X 16.54 inch).
|
A4
A4 (8.27 inch X 11.69 inch).
|
A5
A5 (5.83 inch X 8.27 inch).
|
A6
A6 (4.13 inch X 5.83 inch).
|
B4
B4 (JIS, 10.12 inch X 14.33 inch).
|
B5
B5 (ISO, 6.93 inch X 9.84 inch).
|
CUSTOM
Custom paper type.
|
ENVELOPE_C5
Envelope C5 (6.38 inch X 9.02 inch).
|
ENVELOPE_DL
Envelope DL (4.33 inch X 8.66 inch).
|
EXECUTIVE
Executive (7.25 inch X 10.5 inch).
|
LEGAL
Legal (8.5 inch X 14 inch).
|
LETTER
Letter (8.5 inch X 11 inch).
|
PAPER_11x17
11x17 (11 inch X 17 inch).
|
Modifier and Type | Method and Description |
---|---|
static PaperType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaperType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperType A2
public static final PaperType A3
public static final PaperType A4
public static final PaperType A5
public static final PaperType A6
public static final PaperType B4
public static final PaperType B5
public static final PaperType CUSTOM
public static final PaperType ENVELOPE_C5
public static final PaperType ENVELOPE_DL
public static final PaperType EXECUTIVE
public static final PaperType LEGAL
public static final PaperType LETTER
public static final PaperType PAPER_11x17
public static PaperType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PaperType[] values()
for (PaperType c : PaperType.values()) System.out.println(c);
© GemBox d.o.o. — All rights reserved.