public static enum PageSetup.PaperSize extends java.lang.Enum<PageSetup.PaperSize>
| Enum Constant and Description |
|---|
A4 |
A5 |
A6 |
B5_JIS |
Executive |
Legal |
Letter |
| Modifier and Type | Method and Description |
|---|---|
static PageSetup.PaperSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PageSetup.PaperSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageSetup.PaperSize A4
public static final PageSetup.PaperSize A5
public static final PageSetup.PaperSize A6
public static final PageSetup.PaperSize Legal
public static final PageSetup.PaperSize Executive
public static final PageSetup.PaperSize B5_JIS
public static final PageSetup.PaperSize Letter
public static PageSetup.PaperSize[] values()
for (PageSetup.PaperSize c : PageSetup.PaperSize.values()) System.out.println(c);
public static PageSetup.PaperSize 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