public enum PaperSize extends Enum<PaperSize>
Enum Constant and Description |
---|
A2
A2 Paper - 16.5 x 23.4 inches
|
A3
A3 Paper - 11.7 x 16.5 inches
|
A3EXTRA
A4 Extra Paper - 9.3 x 12.7 inches
|
A3EXTRATRANSVERSE
A4 Extra Transverse Paper - 8.3 x 11.7 inches
|
A3ROTATED
A3 Rotated Paper - 16.5 x 11.7 inches
|
A3TRANSVERSE
A3 Transverse Paper - 11.7 x 16.5 inches
|
A4
A4 Paper - 8.3 x 11.7 inches
|
A4EXTRA
A4 Extra Paper - 9.3 x 12.7 inches
|
A4PLUS
A4 Plus Paper - 8.3 x 13.0 inches
|
A4ROTATED
A4 Rotated Paper - 11.7 x 8.3 inches
|
A4SMALL
A4 Small Paper - 8.3 x 11.7 inches
|
A4TRANSVERSE
A4 Transverse Paper - 8.3 x 11.7 inches
|
A5
A5 Paper - 5.8 x 8.3 inches
|
A5EXTRA
A5 Extra Paper - 6.9 x 9.3 inches
|
A5ROTATED
A5 Rotated Paper - 8.3 x 5.8 inches
|
A5TRANSVERSE
A5 Transverse Paper - 5.8 x 8.3 inches
|
A6
A6 Paper - 4.1 x 5.8 inches
|
A6ROTATED
A6 Rotated Paper - 5.8 x 4.1 inches
|
APLUS
SuperA/SuperA/A4 Paper - 8.937 x 14.0157 inches
|
B4
B4 Paper - 9.8 x 13.9 inches
|
B4JisROTATED
Japanese Industrial Standard (JIS) B4 Rotated Paper - 14.3307 x 10.1181 inches
|
B5
B5 Paper - 6.9 x 9.8 inches
|
B5EXTRA
B5 Extra Paper - 7.9 x 10.9 inches
|
B5JisROTATED
Japanese Industrial Standard (JIS) B5 Rotated Paper (10.1 x 7.2)
|
B5TRANSVERSE
B5 Transverse Paper - 7.2 x 10.1 inches
|
B6Jis
Japanese Industrial Standard (JIS) B6 Paper - 5.0 x 7.2 inches
|
B6JisROTATED
Japanese Industrial Standard (JIS) B6 Rotated Paper - 7.2 x 5.0 inches
|
BPLUS
SuperB/SuperB/A3 paper - 12.0 x 19.2 inches
|
CUSTOM
Custom page size (but initialized to
LETTER . |
ENVELOPE_10
Size 10 Envelope - 8.5 x 11.0 inches
|
ENVELOPE_B4
B4 Envelope - 9.8 x 13.9 inches
|
ENVELOPE_B5
B5 Envelope - 6.9 x 9.8 inches
|
ENVELOPE_B6
B6 Envelope - 6.9 x 4.9 inches
|
ENVELOPE_C3
C3 Envelope (as per ISO 269) - 12.8 x 18.0 inches
|
ENVELOPE_C4
C4 Envelope (as per ISO 269) - 9.0 x 12.8 inches
|
ENVELOPE_C5
C5 Envelope - 9.0 x 6.4 inches
|
ENVELOPE_C6
C6 Envelope (as per ISO 269) - 4.5 x 9.0 inches
|
ENVELOPE_C65
C6/C5 Envelope (as per ISO 269) - 0.1 x 0.2 inches
|
ENVELOPE_DL
DL (Dimension Lengthwise) Envelope - 8.7 x 4.3 inches
|
ENVELOPE_INVITE
Invitation Envelope - 8.5 x 12.0 inches
|
ENVELOPE_ITALY
Italy Envelope - 9.8 x 13.9 inches
|
ENVELOPE_MONARCH
Monarch Envelope - 8.3 x 11.0 inches
|
ENVELOPE_NUMBER10
Size 10 Envelope - 8.5 x 11.0 inches
|
ENVELOPE_NUMBER11
Size 11 Envelope - 4.1 x 9.5 inches
|
ENVELOPE_NUMBER12
Size 12 Envelope - 4.5 x 10.4 inches
|
ENVELOPE_NUMBER14
Size 14 Envelope - 4.8 x 11.0 inches
|
ENVELOPE_NUMBER9
Size 9 Envelope - 5.0 x 11.5 inches
|
ENVELOPE_PERSONAL
Size 6 3/4 Envelope - 3.9 x 8.9 inches
|
EXECUTIVE
Executive Paper - 34.0 x 44.0 inches
|
FOLIO
Folio Paper - 7.2 x 10.5 inches
|
GERMAN_LEGAL_FANFOLD
German Legal Fanfold - 8.5 x 13.0 inches
|
GERMAN_STANDARD_FANFOLD
German Standard Fanfold - 8.5 x 13.0 inches
|
ISOB4
ISO B4 Paper - 8.7 x 8.7 inches
|
LEDGER
Ledger Paper - 4.3 x 9.1 inches
|
LEGAL
Legal Paper - 8.5 x 14.0 inches
|
LEGALEXTRA
Legal Extra Paper - 17.0 x 11.0 inches
|
LETTER
Letter Paper - 8.5 x 11.0 inches
|
LETTEREXTRA
Letter Extra - 9.3 x 15.0 inches
|
LETTEREXTRA_TRANSVERSE
Letter Extra Transverse Paper - 9.3 x 12.0 inches
|
LETTERPLUS
Letter Plus Paper - 9.3 x 12.0 inches
|
LETTERROTATED
Letter Rotated Paper - 8.5 x 12.7 inches
|
LETTERSMALL
Letter Small Paper - 11.0 x 8.5 inches
|
LETTERTRANSVERSE
Letter Transverse Paper - 8.5 x 11.0 inches
|
NOTE
Note Paper - 3.9 x 7.5 inches
|
QUARTO
Quarto Paper - 3.6 x 6.5 inches
|
SHEET_C
C Paper - 4.5 x 6.4 inches
|
SHEET_D
D Paper - 17.0 x 22.0 inches
|
SHEET_E
E Paper - 22.0 x 34.0 inches
|
STATEMENT
Statement Paper - 5.5 x 8.5 inches
|
TABLOID
Tabloid Paper - 11 x 17 inches
|
TABLOIDEXTRA
Tabloid Extra Paper - 11.69 x 18 inches
|
US_STANDARD_STANFOLD
US Standard Fanfold - 14.875 x 11 inches
|
Modifier and Type | Method and Description |
---|---|
MeasurementUnit |
getMeasurementUnit() |
Dimension2D |
getPageDimension() |
Dimension |
getPageDimension(MeasurementUnit unit)
Deprecated.
Instead use
getPageDimension() and getMeasurementUnit() |
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 A3
public static final PaperSize A4
public static final PaperSize A5
public static final PaperSize ENVELOPE_10
public static final PaperSize ENVELOPE_DL
public static final PaperSize ENVELOPE_C5
public static final PaperSize LEGAL
public static final PaperSize A2
public static final PaperSize A3EXTRA
public static final PaperSize A3EXTRATRANSVERSE
public static final PaperSize A3ROTATED
public static final PaperSize A3TRANSVERSE
public static final PaperSize A4EXTRA
public static final PaperSize A4ROTATED
public static final PaperSize A4PLUS
public static final PaperSize A4SMALL
public static final PaperSize A4TRANSVERSE
public static final PaperSize A5EXTRA
public static final PaperSize A5ROTATED
public static final PaperSize A5TRANSVERSE
public static final PaperSize A6
public static final PaperSize A6ROTATED
public static final PaperSize APLUS
public static final PaperSize B4
public static final PaperSize ENVELOPE_B4
public static final PaperSize B4JisROTATED
public static final PaperSize B5
public static final PaperSize ENVELOPE_B5
public static final PaperSize B5EXTRA
public static final PaperSize B5JisROTATED
public static final PaperSize B5TRANSVERSE
public static final PaperSize ENVELOPE_B6
public static final PaperSize B6Jis
public static final PaperSize B6JisROTATED
public static final PaperSize BPLUS
public static final PaperSize ENVELOPE_C3
public static final PaperSize ENVELOPE_C4
public static final PaperSize ENVELOPE_C65
public static final PaperSize ENVELOPE_C6
public static final PaperSize SHEET_C
public static final PaperSize SHEET_D
public static final PaperSize SHEET_E
public static final PaperSize EXECUTIVE
public static final PaperSize FOLIO
public static final PaperSize GERMAN_LEGAL_FANFOLD
public static final PaperSize GERMAN_STANDARD_FANFOLD
public static final PaperSize ENVELOPE_INVITE
public static final PaperSize ISOB4
public static final PaperSize ENVELOPE_ITALY
public static final PaperSize LEDGER
public static final PaperSize LEGALEXTRA
public static final PaperSize LETTEREXTRA
public static final PaperSize LETTEREXTRA_TRANSVERSE
public static final PaperSize LETTERPLUS
public static final PaperSize LETTERROTATED
public static final PaperSize LETTERSMALL
public static final PaperSize LETTERTRANSVERSE
public static final PaperSize ENVELOPE_MONARCH
public static final PaperSize NOTE
public static final PaperSize ENVELOPE_NUMBER10
public static final PaperSize ENVELOPE_NUMBER11
public static final PaperSize ENVELOPE_NUMBER12
public static final PaperSize ENVELOPE_NUMBER14
public static final PaperSize ENVELOPE_NUMBER9
public static final PaperSize ENVELOPE_PERSONAL
public static final PaperSize QUARTO
public static final PaperSize STATEMENT
public static final PaperSize TABLOID
public static final PaperSize TABLOIDEXTRA
public static final PaperSize US_STANDARD_STANFOLD
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 nullpublic Dimension2D getPageDimension()
public Dimension getPageDimension(MeasurementUnit unit)
getPageDimension()
and getMeasurementUnit()
public MeasurementUnit getMeasurementUnit()