Package com.selectpdf
Enum ApiEnums.PageSize
java.lang.Object
java.lang.Enum<ApiEnums.PageSize>
com.selectpdf.ApiEnums.PageSize
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ApiEnums.PageSize>,java.lang.constant.Constable
- Enclosing class:
- ApiEnums
public static enum ApiEnums.PageSize extends java.lang.Enum<ApiEnums.PageSize>
PDF page size.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description A0A0 page size.A1A1 page size.A2A2 page size.A3A3 page size.A4A4 page size.A5A5 page size.A6A6 page size.A7A7 page size.A8A8 page size.CustomCustom page size.HalfLetterHalf Letter page size.LedgerLedger page size.LegalLegal page size.LetterLetter page size. -
Method Summary
Modifier and Type Method Description static ApiEnums.PageSizevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ApiEnums.PageSize[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-