- java.lang.Object
-
- com.itextpdf.text.PageSize
-
public class PageSize extends java.lang.ObjectThePageSize-object contains a number of rectangles representing the most common paper sizes.- See Also:
Rectangle
-
-
Field Summary
Fields Modifier and Type Field Description static Rectangle_11X17This is the 11x17 formatstatic RectangleA0This is the a0 formatstatic RectangleA1This is the a1 formatstatic RectangleA10This is the a10 formatstatic RectangleA2This is the a2 formatstatic RectangleA3This is the a3 formatstatic RectangleA4This is the a4 formatstatic RectangleA5This is the a5 formatstatic RectangleA6This is the a6 formatstatic RectangleA7This is the a7 formatstatic RectangleA8This is the a8 formatstatic RectangleA9This is the a9 formatstatic RectangleARCH_AThis is the archA formatstatic RectangleARCH_BThis is the archB formatstatic RectangleARCH_CThis is the archC formatstatic RectangleARCH_DThis is the archD formatstatic RectangleARCH_EThis is the archE formatstatic RectangleB0This is the b0 formatstatic RectangleB1This is the b1 formatstatic RectangleB10This is the b10 formatstatic RectangleB2This is the b2 formatstatic RectangleB3This is the b3 formatstatic RectangleB4This is the b4 formatstatic RectangleB5This is the b5 formatstatic RectangleB6This is the b6 formatstatic RectangleB7This is the b7 formatstatic RectangleB8This is the b8 formatstatic RectangleB9This is the b9 formatstatic RectangleCROWN_OCTAVOThis is the Crown Octavo formatstatic RectangleCROWN_QUARTOThis is the Crown Quarto formatstatic RectangleDEMY_OCTAVOThis is the Demy Octavo formatstatic RectangleDEMY_QUARTOThis is the Demy Quarto format.static RectangleEXECUTIVEThis is the executive formatstatic RectangleFLSAThis is the American Foolscap formatstatic RectangleFLSEThis is the European Foolscap formatstatic RectangleHALFLETTERThis is the halfletter formatstatic RectangleID_1This is the ISO 7810 ID-1 format (85.60 x 53.98 mm or 3.370 x 2.125 inch)static RectangleID_2This is the ISO 7810 ID-2 format (A7 rotated)static RectangleID_3This is the ISO 7810 ID-3 format (B7 rotated)static RectangleLARGE_CROWN_OCTAVOThis is the Large Crown Octavo formatstatic RectangleLARGE_CROWN_QUARTOThis is the Large Crown Quarto formatstatic RectangleLEDGERThis is the ledger formatstatic RectangleLEGALThis is the legal formatstatic RectangleLETTERThis is the letter formatstatic RectangleNOTEThis is the note formatstatic RectanglePENGUIN_LARGE_PAPERBACKThis is the Penguin large paperback format.static RectanglePENGUIN_SMALL_PAPERBACKThis is the Pengiun small paperback format.static RectanglePOSTCARDThis is the postcard formatstatic RectangleROYAL_OCTAVOThis is the Royal Octavo format.static RectangleROYAL_QUARTOThis is the Royal Quarto format.static RectangleSMALL_PAPERBACKThis is the small paperback format.static RectangleTABLOIDThis is the tabloid format
-
Constructor Summary
Constructors Constructor Description PageSize()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RectanglegetRectangle(java.lang.String name)This method returns a Rectangle based on a String.
-
-
-
Field Detail
-
LETTER
public static final Rectangle LETTER
This is the letter format
-
NOTE
public static final Rectangle NOTE
This is the note format
-
LEGAL
public static final Rectangle LEGAL
This is the legal format
-
TABLOID
public static final Rectangle TABLOID
This is the tabloid format
-
EXECUTIVE
public static final Rectangle EXECUTIVE
This is the executive format
-
POSTCARD
public static final Rectangle POSTCARD
This is the postcard format
-
A0
public static final Rectangle A0
This is the a0 format
-
A1
public static final Rectangle A1
This is the a1 format
-
A2
public static final Rectangle A2
This is the a2 format
-
A3
public static final Rectangle A3
This is the a3 format
-
A4
public static final Rectangle A4
This is the a4 format
-
A5
public static final Rectangle A5
This is the a5 format
-
A6
public static final Rectangle A6
This is the a6 format
-
A7
public static final Rectangle A7
This is the a7 format
-
A8
public static final Rectangle A8
This is the a8 format
-
A9
public static final Rectangle A9
This is the a9 format
-
A10
public static final Rectangle A10
This is the a10 format
-
B0
public static final Rectangle B0
This is the b0 format
-
B1
public static final Rectangle B1
This is the b1 format
-
B2
public static final Rectangle B2
This is the b2 format
-
B3
public static final Rectangle B3
This is the b3 format
-
B4
public static final Rectangle B4
This is the b4 format
-
B5
public static final Rectangle B5
This is the b5 format
-
B6
public static final Rectangle B6
This is the b6 format
-
B7
public static final Rectangle B7
This is the b7 format
-
B8
public static final Rectangle B8
This is the b8 format
-
B9
public static final Rectangle B9
This is the b9 format
-
B10
public static final Rectangle B10
This is the b10 format
-
ARCH_E
public static final Rectangle ARCH_E
This is the archE format
-
ARCH_D
public static final Rectangle ARCH_D
This is the archD format
-
ARCH_C
public static final Rectangle ARCH_C
This is the archC format
-
ARCH_B
public static final Rectangle ARCH_B
This is the archB format
-
ARCH_A
public static final Rectangle ARCH_A
This is the archA format
-
FLSA
public static final Rectangle FLSA
This is the American Foolscap format
-
FLSE
public static final Rectangle FLSE
This is the European Foolscap format
-
HALFLETTER
public static final Rectangle HALFLETTER
This is the halfletter format
-
_11X17
public static final Rectangle _11X17
This is the 11x17 format
-
ID_1
public static final Rectangle ID_1
This is the ISO 7810 ID-1 format (85.60 x 53.98 mm or 3.370 x 2.125 inch)
-
ID_2
public static final Rectangle ID_2
This is the ISO 7810 ID-2 format (A7 rotated)
-
ID_3
public static final Rectangle ID_3
This is the ISO 7810 ID-3 format (B7 rotated)
-
LEDGER
public static final Rectangle LEDGER
This is the ledger format
-
CROWN_QUARTO
public static final Rectangle CROWN_QUARTO
This is the Crown Quarto format
-
LARGE_CROWN_QUARTO
public static final Rectangle LARGE_CROWN_QUARTO
This is the Large Crown Quarto format
-
DEMY_QUARTO
public static final Rectangle DEMY_QUARTO
This is the Demy Quarto format.
-
ROYAL_QUARTO
public static final Rectangle ROYAL_QUARTO
This is the Royal Quarto format.
-
CROWN_OCTAVO
public static final Rectangle CROWN_OCTAVO
This is the Crown Octavo format
-
LARGE_CROWN_OCTAVO
public static final Rectangle LARGE_CROWN_OCTAVO
This is the Large Crown Octavo format
-
DEMY_OCTAVO
public static final Rectangle DEMY_OCTAVO
This is the Demy Octavo format
-
ROYAL_OCTAVO
public static final Rectangle ROYAL_OCTAVO
This is the Royal Octavo format.
-
SMALL_PAPERBACK
public static final Rectangle SMALL_PAPERBACK
This is the small paperback format.
-
PENGUIN_SMALL_PAPERBACK
public static final Rectangle PENGUIN_SMALL_PAPERBACK
This is the Pengiun small paperback format.
-
PENGUIN_LARGE_PAPERBACK
public static final Rectangle PENGUIN_LARGE_PAPERBACK
This is the Penguin large paperback format.
-
-
Method Detail
-
getRectangle
public static Rectangle getRectangle(java.lang.String name)
This method returns a Rectangle based on a String. Possible values are the the names of a constant in this class (for instance "A4", "LETTER",...) or a value like "595 842"
-
-