FormSelectionMark Class
- java.
lang. Object - com.
azure. ai. formrecognizer. models. FormElement - com.
azure. ai. formrecognizer. models. FormSelectionMark
- com.
- com.
public final class FormSelectionMark
extends FormElement
Represents a selection mark recognized from the input document.
Constructor Summary
Constructor | Description |
---|---|
FormSelectionMark(String text, FieldBoundingBox boundingBox, int pageNumber) |
Creates a Form |
Method Summary
Modifier and Type | Method and Description |
---|---|
Field |
getBoundingBox()
Bounding |
float |
getConfidence()
Gets the confidence property of the selection mark. |
int |
getPageNumber()
Get the 1-based page number in the input document. |
Selection |
getState()
Gets the state property of the selection mark. |
String |
getText()
The text content of the form element. |
Methods inherited from FormElement
Methods inherited from java.lang.Object
Constructor Details
FormSelectionMark
public FormSelectionMark(String text, FieldBoundingBox boundingBox, int pageNumber)
Creates a FormSelectionMark.
Parameters:
Method Details
getBoundingBox
public FieldBoundingBox getBoundingBox()
BoundingBox property of the element.
Overrides:
FormSelectionMark.getBoundingBox()getConfidence
public float getConfidence()
Gets the confidence property of the selection mark.
Returns:
getPageNumber
public int getPageNumber()
Get the 1-based page number in the input document.
Overrides:
FormSelectionMark.getPageNumber()getState
public SelectionMarkState getState()
Gets the state property of the selection mark.
Returns:
getText
public String getText()
The text content of the form element.
Overrides:
FormSelectionMark.getText()