Class DocumentPageLengthUnit
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentPageLengthUnit>
com.azure.ai.formrecognizer.documentanalysis.models.DocumentPageLengthUnit
public final class DocumentPageLengthUnit
extends com.azure.core.util.ExpandableStringEnum<DocumentPageLengthUnit>
Defines values for DocumentPageLengthUnit.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentPageLengthUnit
Static value inch for DocumentPageLengthUnit.static final DocumentPageLengthUnit
Static value pixel for DocumentPageLengthUnit. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentPageLengthUnit
fromString
(String name) Creates or finds a DocumentPageLengthUnit from its string representation.static Collection<DocumentPageLengthUnit>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PIXEL
Static value pixel for DocumentPageLengthUnit. -
INCH
Static value inch for DocumentPageLengthUnit.
-
-
Constructor Details
-
DocumentPageLengthUnit
public DocumentPageLengthUnit()
-
-
Method Details
-
fromString
Creates or finds a DocumentPageLengthUnit from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DocumentPageLengthUnit.
-
values
- Returns:
- known DocumentPageLengthUnit values.
-