Class FormReadingOrder
java.lang.Object
com.azure.core.util.ExpandableStringEnum<FormReadingOrder>
com.azure.ai.formrecognizer.models.FormReadingOrder
public final class FormReadingOrder
extends com.azure.core.util.ExpandableStringEnum<FormReadingOrder>
Defines values for the order in which recognized text lines are returned.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FormReadingOrder
Static value BASIC for FormReadingOrder.static final FormReadingOrder
Static value NATURAL for FormReadingOrder. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormReadingOrder
fromString
(String value) Parses a serialized value to a FormReadingOrder instance.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
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
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
public FormReadingOrder()
-
-
Method Details
-
fromString
Parses a serialized value to a FormReadingOrder instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed FormReadingOrder object, or null if unable to parse.
-