Enum PageSize

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum PageSize
    extends Enum<PageSize>
                        

    Page size.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class PageSize.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      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 Summary

      Modifier and Type Method Description
      final String toJson()
      final PageSize valueOf(String value) Returns the enum constant of this type with the specified name.
      final Array<PageSize> values() Returns an array containing the constants of this enum type, in the order they're declared.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • valueOf

         final PageSize valueOf(String value)

        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.)

      • values

         final Array<PageSize> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.