Class LengthUnit
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<LengthUnit>
-
- com.azure.ai.formrecognizer.models.LengthUnit
-
public final class LengthUnit extends com.azure.core.util.ExpandableStringEnum<LengthUnit>
Defines values for LengthUnit.
-
-
Field Summary
Fields Modifier and Type Field Description static LengthUnit
INCH
Static value inch for LengthUnit.static LengthUnit
PIXEL
Static value pixel for LengthUnit.
-
Constructor Summary
Constructors Constructor Description LengthUnit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LengthUnit
fromString(String name)
Creates or finds a LengthUnit from its string representation.static Collection<LengthUnit>
values()
-
-
-
Field Detail
-
PIXEL
public static final LengthUnit PIXEL
Static value pixel for LengthUnit.
-
INCH
public static final LengthUnit INCH
Static value inch for LengthUnit.
-
-
Method Detail
-
fromString
public static LengthUnit fromString(String name)
Creates or finds a LengthUnit from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LengthUnit.
-
values
public static Collection<LengthUnit> values()
- Returns:
- known LengthUnit values.
-
-