Class FormSelectionMark
java.lang.Object
com.azure.ai.formrecognizer.models.FormElement
com.azure.ai.formrecognizer.models.FormSelectionMark
Represents a selection mark recognized from the input document.
-
Constructor Summary
ConstructorDescriptionFormSelectionMark
(String text, FieldBoundingBox boundingBox, int pageNumber) Creates a FormSelectionMark. -
Method Summary
-
Constructor Details
-
FormSelectionMark
Creates a FormSelectionMark.- Parameters:
text
- The text content of the extracted element.boundingBox
- The BoundingBox specifying relative coordinates of the element.pageNumber
- the 1 based page number.
-
-
Method Details
-
getBoundingBox
BoundingBox property of the element.- Overrides:
getBoundingBox
in classFormElement
- Returns:
- the bounding box of the element.
-
getText
The text content of the form element.- Overrides:
getText
in classFormElement
- Returns:
- The text content of the form element.
-
getPageNumber
public int getPageNumber()Get the 1-based page number in the input document.- Overrides:
getPageNumber
in classFormElement
- Returns:
- the page number value.
-
getState
Gets the state property of the selection mark.- Returns:
- the state property of the selection mark.
-
getConfidence
public float getConfidence()Gets the confidence property of the selection mark.- Returns:
- the confidence property of the selection mark.
-