public enum PageSize extends Enum<PageSize>
Enum Constant and Description |
---|
A3 |
A4 |
A5 |
B4 |
B5 |
CUSTOM |
ENVELOPE_DL |
EXECUTIVE |
FOLIO |
LEDGER |
LEGAL |
LETTER |
PAPER_10_X_14 |
PAPER_11_X_17 |
QUARTO |
STATEMENT |
TABLOID |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
String |
getName() |
static PageSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageSize A3
public static final PageSize A4
public static final PageSize A5
public static final PageSize B4
public static final PageSize B5
public static final PageSize CUSTOM
public static final PageSize ENVELOPE_DL
public static final PageSize EXECUTIVE
public static final PageSize FOLIO
public static final PageSize LEDGER
public static final PageSize LEGAL
public static final PageSize LETTER
public static final PageSize PAPER_10_X_14
public static final PageSize PAPER_11_X_17
public static final PageSize QUARTO
public static final PageSize STATEMENT
public static final PageSize TABLOID
public static PageSize[] values()
for (PageSize c : PageSize.values()) System.out.println(c);
public static PageSize 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 String getKey()
public String getName()
Copyright © 2022. All rights reserved.