public enum PaperFormat extends Enum<PaperFormat>
| Enum Constant and Description |
|---|
A3
420 mm × 297 mm
|
A4
297 mm × 210 mm
|
A5
210 mm × 148 mm
|
LEGAL
14 in × 8½ in
|
LETTER
11 in × 8½ in
|
USER
user defined: 0 by convention.
|
| Modifier and Type | Method and Description |
|---|---|
static PaperFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaperFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperFormat A3
public static final PaperFormat A4
public static final PaperFormat A5
public static final PaperFormat LEGAL
public static final PaperFormat LETTER
public static final PaperFormat USER
public static PaperFormat[] values()
for (PaperFormat c : PaperFormat.values()) System.out.println(c);
public static PaperFormat 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 nullCopyright © 2016–2021. All rights reserved.