com.groupdocs.viewer.options

Enum PageSize

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      A0
      The size of the A0 page in points is 3371 x 2384
      A1
      The size of the A1 page in points is 2384 x 1685
      A2
      The size of the A2 page in points is 1684 x 1190
      A3
      The size of the A3 page in points is 1190 x 842
      A4
      The size of the A4 page in points is 842 x 595
      LEDGER
      The size of the Ledger page in points is 1224 x 792
      LETTER
      The size of the Letter page in points is 792 x 612
      UNSPECIFIED
      The default, unspecified page size.
    • Enum Constant Detail

      • A0

        public static final PageSize A0

        The size of the A0 page in points is 3371 x 2384

      • A1

        public static final PageSize A1

        The size of the A1 page in points is 2384 x 1685

      • A2

        public static final PageSize A2

        The size of the A2 page in points is 1684 x 1190

      • A3

        public static final PageSize A3

        The size of the A3 page in points is 1190 x 842

      • A4

        public static final PageSize A4

        The size of the A4 page in points is 842 x 595

      • LEDGER

        public static final PageSize LEDGER

        The size of the Ledger page in points is 1224 x 792

      • LETTER

        public static final PageSize LETTER

        The size of the Letter page in points is 792 x 612

      • UNSPECIFIED

        public static final PageSize UNSPECIFIED

        The default, unspecified page size.

    • Method Detail

      • valueOf

        public static PageSize valueOf(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • values

        public static PageSize[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PageSize c : PageSize.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared