Package net.webpdf.wsclient.openapi
Enum OperationToolboxRotateRotate.OrientationDetectModeEnum
- java.lang.Object
-
- java.lang.Enum<OperationToolboxRotateRotate.OrientationDetectModeEnum>
-
- net.webpdf.wsclient.openapi.OperationToolboxRotateRotate.OrientationDetectModeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationToolboxRotateRotate.OrientationDetectModeEnum>
- Enclosing class:
- OperationToolboxRotateRotate
public static enum OperationToolboxRotateRotate.OrientationDetectModeEnum extends Enum<OperationToolboxRotateRotate.OrientationDetectModeEnum>
Selects which criteria to use to determine the orientation (portrait/landscape) of pages (see also \"pageOrientation\"): * value = Based solely on the page rotation value entered in the PDF. * dimensions = Based on the ratio of the page dimensions to each other.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIMENSIONSVALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationToolboxRotateRotate.OrientationDetectModeEnumfromValue(String value)StringgetValue()StringtoString()static OperationToolboxRotateRotate.OrientationDetectModeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationToolboxRotateRotate.OrientationDetectModeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final OperationToolboxRotateRotate.OrientationDetectModeEnum VALUE
-
DIMENSIONS
public static final OperationToolboxRotateRotate.OrientationDetectModeEnum DIMENSIONS
-
-
Method Detail
-
values
public static OperationToolboxRotateRotate.OrientationDetectModeEnum[] 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 (OperationToolboxRotateRotate.OrientationDetectModeEnum c : OperationToolboxRotateRotate.OrientationDetectModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationToolboxRotateRotate.OrientationDetectModeEnum 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationToolboxRotateRotate.OrientationDetectModeEnum>
-
fromValue
public static OperationToolboxRotateRotate.OrientationDetectModeEnum fromValue(String value)
-
-