Package io.scanbot.sdk.pdfgeneration
Enum Class PageSize
- All Implemented Interfaces:
Serializable,Comparable<PageSize>,Constable
Page size.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription297 x 420 (mm) 841.89 x 1199.551 (pixels) at 72 DPI.210 x 297 (mm) 595.276 x 841.89 (pixels) at 72 DPI.148 x 210 (mm) 419.528 x 595.276 (pixels) at 72 DPI.250 x 353 (mm) 708.661 x 1000.63 (pixels) at 72 DPI.176 x 250 (mm) 498.898 x 708.661 (pixels) at 72 DPI.4.125 x 9.5 (inches) 297 x 684 (pixels) at 72 DPI.Physical size will be calculated from the image dimensions and the `dpi` parameter.7.25 x 10.5 (inches) 522 x 756 (pixels) at 72 DPI.8.5 x 14 (inches) 612 x 1008 (pixels) at 72 DPI.8.5 x 11 (inches) 612 x 792 (pixels) at 72 DPI.4 x 6 (inches) 288 x 432 (pixels) at 72 DPI.4 x 8 (inches) 288 x 576 (pixels) at 72 DPI.5 x 7 (inches) 360 x 504 (pixels) at 72 DPI. -
Method Summary
-
Enum Constant Details
-
LETTER
8.5 x 11 (inches) 612 x 792 (pixels) at 72 DPI. -
LEGAL
8.5 x 14 (inches) 612 x 1008 (pixels) at 72 DPI. -
A3
297 x 420 (mm) 841.89 x 1199.551 (pixels) at 72 DPI. -
A4
210 x 297 (mm) 595.276 x 841.89 (pixels) at 72 DPI. -
A5
148 x 210 (mm) 419.528 x 595.276 (pixels) at 72 DPI. -
B4
250 x 353 (mm) 708.661 x 1000.63 (pixels) at 72 DPI. -
B5
176 x 250 (mm) 498.898 x 708.661 (pixels) at 72 DPI. -
EXECUTIVE
7.25 x 10.5 (inches) 522 x 756 (pixels) at 72 DPI. -
US4x6
4 x 6 (inches) 288 x 432 (pixels) at 72 DPI. -
US4x8
4 x 8 (inches) 288 x 576 (pixels) at 72 DPI. -
US5x7
5 x 7 (inches) 360 x 504 (pixels) at 72 DPI. -
COMM10
4.125 x 9.5 (inches) 297 x 684 (pixels) at 72 DPI. -
CUSTOM
Physical size will be calculated from the image dimensions and the `dpi` parameter.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-