com.groupdocs.viewer.options

Enum Position

    • Enum Constant Detail

      • BOTTOM_CENTER

        public static final Position BOTTOM_CENTER

        The bottom center position.

      • BOTTOM_LEFT

        public static final Position BOTTOM_LEFT

        The bottom left position.

      • BOTTOM_RIGHT

        public static final Position BOTTOM_RIGHT

        The bottom right position.

      • DIAGONAL

        public static final Position DIAGONAL

        The diagonal position.

      • TOP_CENTER

        public static final Position TOP_CENTER

        The top center position.

      • TOP_LEFT

        public static final Position TOP_LEFT

        The top left position.

      • TOP_RIGHT

        public static final Position TOP_RIGHT

        The top right position.

    • Method Detail

      • valueOf

        public static Position 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 Position[] 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 (Position c : Position.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared