Package net.webpdf.wsclient.openapi
Enum OperationOcrPage.MetricsEnum
- java.lang.Object
-
- java.lang.Enum<OperationOcrPage.MetricsEnum>
-
- net.webpdf.wsclient.openapi.OperationOcrPage.MetricsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationOcrPage.MetricsEnum>
- Enclosing class:
- OperationOcrPage
public static enum OperationOcrPage.MetricsEnum extends Enum<OperationOcrPage.MetricsEnum>
Unit for the X-axis/Y-axis position and signature field height and width arguments: * pt = Points(1/72 inch) * pc = Picas(12 points) * px = Pixels(1/96 inch) * mm = Millimeters * in = Inches
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationOcrPage.MetricsEnumfromValue(String value)StringgetValue()StringtoString()static OperationOcrPage.MetricsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationOcrPage.MetricsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PT
public static final OperationOcrPage.MetricsEnum PT
-
PC
public static final OperationOcrPage.MetricsEnum PC
-
PX
public static final OperationOcrPage.MetricsEnum PX
-
MM
public static final OperationOcrPage.MetricsEnum MM
-
IN
public static final OperationOcrPage.MetricsEnum IN
-
-
Method Detail
-
values
public static OperationOcrPage.MetricsEnum[] 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 (OperationOcrPage.MetricsEnum c : OperationOcrPage.MetricsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationOcrPage.MetricsEnum 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<OperationOcrPage.MetricsEnum>
-
fromValue
public static OperationOcrPage.MetricsEnum fromValue(String value)
-
-