public enum PaperSize extends Enum<PaperSize>
| Enum Constant and Description |
|---|
A0
Represents the A0 page size.
|
A1
Represents the A1 page size.
|
A2
Represents the A2 page size.
|
A3
Represents the A3 page size.
|
A4
Represents the A4 page size.
|
ARCHD
Represents the ARCHD page size.
|
LEGAL
Represents the LEGAL page size.
|
LETTER
Represents the LETTER page size.
|
WIDE
Represents the WIDE page size.
|
| Modifier and Type | Method and Description |
|---|---|
static PaperSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaperSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaperSize LETTER
public static final PaperSize LEGAL
public static final PaperSize WIDE
public static final PaperSize ARCHD
public static final PaperSize A4
public static final PaperSize A3
public static final PaperSize A2
public static final PaperSize A1
public static final PaperSize A0
public static PaperSize[] values()
for (PaperSize c : PaperSize.values()) System.out.println(c);
public static PaperSize 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 © 2014–2017 Smartsheet. All rights reserved.