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

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    A0
    A0 page size.
    A1
    A1 page size.
    A2
    A2 page size.
    A3
    A3 page size.
    A4
    A4 page size.
    A5
    A5 page size.
    A6
    A6 page size.
    A7
    A7 page size.
    A8
    A8 page size.
    Custom
    Custom page size.
    HalfLetter
    Half Letter page size.
    Ledger
    Ledger page size.
    Legal
    Legal page size.
    Letter
    Letter page size.
  • Method Summary

    Modifier and Type Method Description
    static ApiEnums.PageSize valueOf​(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.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static ApiEnums.PageSize[] 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

      public static ApiEnums.PageSize valueOf​(java.lang.String name)
      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 name
      java.lang.NullPointerException - if the argument is null