FormReadingOrder Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. formrecognizer. models. FormReadingOrder
- com.
- com.
public final class FormReadingOrder
extends ExpandableStringEnum<FormReadingOrder>
Defines values for the order in which recognized text lines are returned.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Form |
BASIC
Static value BASIC for Form |
static final
Form |
NATURAL
Static value NATURAL for Form |
Constructor Summary
Constructor | Description |
---|---|
FormReadingOrder() |
Deprecated
Use the fromString(String value) factory method.
Creates a Form |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Form |
fromString(String value)
Parses a serialized value to a Form |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BASIC
public static final FormReadingOrder BASIC
Static value BASIC for FormReadingOrder. Set it to basic for the lines to be sorted top to bottom, left to right, although in certain cases proximity is treated with higher priority.
NATURAL
public static final FormReadingOrder NATURAL
Static value NATURAL for FormReadingOrder. Set it to "natural" value for the algorithm to use positional information to keep nearby lines together.
Constructor Details
FormReadingOrder
@Deprecated
public FormReadingOrder()
Deprecated
Creates a FormReadingOrder object.
Method Details
fromString
public static FormReadingOrder fromString(String value)
Parses a serialized value to a FormReadingOrder instance.
Parameters:
Returns:
Applies to
Azure SDK for Java