Package com.ironsoftware.ironpdf.render
Enum PaperSize
- All Implemented Interfaces:
Serializable
,Comparable<PaperSize>
,java.lang.constant.Constable
Defines the target virtual paper size the PDF. Relates to real-world paper-sizes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription227mm X 356mm420mm X 594mm297mm X 420mm322mm X 445mm322mm X 445mm420mm X 297mm297mm X 420mm210mm X 297mm236mm X 322mm210mm X 330mm297mm X 210mm210mm X 297mm210mm X 297mm148mm X 210mm174mm X 235mm210mm X 148mm148mm X 210mm105mm X 148mm148mm X 105mm305mm X 487mm250mm X 353mm250mm X 353mm364mm X 257mm176mm X 250mm176mm X 250mm201mm X 276mm257mm X 182mm182mm X 257mm176mm X 125mm128mm X 182mm182mm X 128mm17in X 22in324mm X 458mm229mm X 324mm162mm X 229mm114mm X 162mm114mm X 229mmSet using SetCustomPaperSizeInInches or SetCustomPaperSizeInMillimeters22in X 34in110mm X 220mm34in X 44in7.25in X 10.5in8.5in X 13in8.5in X 13in8.5in X 12in220mm X 220mm250mm X 353mm110mm X 230mm200mm X 148mm148mm X 200mm148mm X 100mm100mm X 148mm17in X 11in8.5in X 14in9.275in X 15in8.5in X 11in9.275in X 12in9.275in X 12in8.5in X 12.69in11in X 8.5in8.5in X 11in8.275in X 11in3.875in X 7.5in8.5in X 11in4.125in X 9.5in4.5in X 10.375in4.75in X 11in5in X 11.5in3.875in X 8.875in3.625in X 6.5in146mm X 215mm97mm X 151mm97mm X 151mm97mm X 151mm97mm X 151mm125mm X 176mm102mm X 165mm165mm X 102mm324mm X 458mm458mm X 324mm102mm X 176mm176mm X 102mm176mm X 125mm110mm X 208mm208mm X 110mm110mm X 220mm220mm X 110mm120mm X 230mm230mm X 120mm160mm X 230mm230mm X 160mm120mm X 309mm309mm X 120mm229mm X 324mm324mm X 229mm146mm X 215mm215mm X 275mm10in X 11in10in X 14in11in X 17in12in X 11in15in X 11in9in X 11in5.5in X 8.5in11in X 17in11.69in X 18in14.875in X 11in -
Method Summary
-
Enum Constant Details
-
LETTER
8.5in X 11in -
LEGAL
8.5in X 14in -
A4
210mm X 297mm -
C_SHEET
17in X 22in -
D_SHEET
22in X 34in -
E_SHEET
34in X 44in -
LETTER_SMALL
8.5in X 11in -
TABLOID
11in X 17in -
LEDGER
17in X 11in -
STATEMENT
5.5in X 8.5in -
EXECUTIVE
7.25in X 10.5in -
A3
297mm X 420mm -
A4_SMALL
210mm X 297mm -
A5
148mm X 210mm -
B4
250mm X 353mm -
B5
176mm X 250mm -
FOLIO
8.5in X 13in -
QUARTO
215mm X 275mm -
STANDARD_10X14
10in X 14in -
STANDARD_11X17
11in X 17in -
NOTE
8.5in X 11in -
NUMBER_9_ENVELOPE
3.875in X 8.875in -
NUMBER_10_ENVELOPE
4.125in X 9.5in -
NUMBER_11_ENVELOPE
4.5in X 10.375in -
NUMBER_12_ENVELOPE
4.75in X 11in -
NUMBER_14_ENVELOPE
5in X 11.5in -
DL_ENVELOPE
110mm X 220mm -
C5_ENVELOPE
162mm X 229mm -
C3_ENVELOPE
324mm X 458mm -
C4_ENVELOPE
229mm X 324mm -
C6_ENVELOPE
114mm X 162mm -
C65_ENVELOPE
114mm X 229mm -
B4_ENVELOPE
250mm X 353mm -
B5_ENVELOPE
176mm X 250mm -
B6_ENVELOPE
176mm X 125mm -
ITALY_ENVELOPE
110mm X 230mm -
MONARCH_ENVELOPE
3.875in X 7.5in -
PERSONAL_ENVELOPE
3.625in X 6.5in -
US_STANDARD_FAN_FOLD
14.875in X 11in -
GERMAN_STANDARD_FAN_FOLD
8.5in X 12in -
GERMAN_LEGAL_FAN_FOLD
8.5in X 13in -
ISO_B4
250mm X 353mm -
JAPANESE_POSTCARD
100mm X 148mm -
STANDARD_9X11
9in X 11in -
STANDARD_10X11
10in X 11in -
STANDARD_15X11
15in X 11in -
INVITE_ENVELOPE
220mm X 220mm -
LETTER_EXTRA
9.275in X 12in -
LEGAL_EXTRA
9.275in X 15in -
TABLOID_EXTRA
11.69in X 18in -
A4_EXTRA
236mm X 322mm -
LETTER_TRANSVERSE
8.275in X 11in -
A4_TRANSVERSE
210mm X 297mm -
LETTER_EXTRA_TRANSVERSE
9.275in X 12in -
A_PLUS
227mm X 356mm -
B_PLUS
305mm X 487mm -
LETTER_PLUS
8.5in X 12.69in -
A4_PLUS
210mm X 330mm -
A5_TRANSVERSE
148mm X 210mm -
B5_TRANSVERSE
182mm X 257mm -
A3_EXTRA
322mm X 445mm -
A5_EXTRA
174mm X 235mm -
B5_EXTRA
201mm X 276mm -
A2
420mm X 594mm -
A3_TRANSVERSE
297mm X 420mm -
A3_EXTRA_TRANSVERSE
322mm X 445mm -
JAPANESE_DOUBLE_POSTCARD
200mm X 148mm -
A6
105mm X 148mm -
LETTER_ROTATED
11in X 8.5in -
A3_ROTATED
420mm X 297mm -
A4_ROTATED
297mm X 210mm -
A5_ROTATED
210mm X 148mm -
B4_JIS_ROTATED
364mm X 257mm -
B5_JIS_ROTATED
257mm X 182mm -
JAPANESE_POST_CARD_ROTATED
148mm X 100mm -
JAPANESE_DOUBLE_POSTCARD_ROTATED
148mm X 200mm -
A6_ROTATED
148mm X 105mm -
B6_JIS
128mm X 182mm -
B6_JIS_ROTATED
182mm X 128mm -
STANDARD_12X11
12in X 11in -
PRC_16K
146mm X 215mm -
PRC_32K
97mm X 151mm -
PRC_32K_BIG
97mm X 151mm -
PRC_ENVELOPE_NUMBER1
102mm X 165mm -
PRC_ENVELOPE_NUMBER2
102mm X 176mm -
PRC_ENVELOP_NUMBER3
125mm X 176mm -
PRC_ENVELOPE_NUMBER4
110mm X 208mm -
PRC_ENVELOPE_NUMBER5
110mm X 220mm -
PRC_ENVELOPE_NUMBER6
120mm X 230mm -
PRC_ENVELOPE_NUMBER7
160mm X 230mm -
PRC_ENVELOPE_NUMBER8
120mm X 309mm -
PRC_ENVELOPE_NUMBER9
229mm X 324mm -
PRC_ENVELOPE_NUMBER10
324mm X 458mm -
PRC16K_ROTATED
146mm X 215mm -
PRC_32K_ROTATED
97mm X 151mm -
PRC_32K_BIG_ROTATED
97mm X 151mm -
PRC_ENVELOPE_NUMBER1_ROTATED
165mm X 102mm -
PRC_ENVELOPE_NUMBER2_ROTATED
176mm X 102mm -
PRC_ENVELOPE_NUMBER3_ROTATED
176mm X 125mm -
PRC_ENVELOPE_NUMBER4_ROTATED
208mm X 110mm -
PRC_ENVELOPE_NUMBER5_ROTATED
220mm X 110mm -
PRC_ENVELOPE_NUMBER6_ROTATED
230mm X 120mm -
PRC_ENVELOPE_NUMBER7_ROTATED
230mm X 160mm -
PRC_ENVELOPE_NUMBER8_ROTATED
309mm X 120mm -
PRC_ENVELOPE_NUMBER9_ROTATED
324mm X 229mm -
PRC_ENVELOPE_NUMBER10_ROTATED
458mm X 324mm -
Custom
Set using SetCustomPaperSizeInInches or SetCustomPaperSizeInMillimeters
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-