Class FormElement
java.lang.Object
com.azure.ai.formrecognizer.models.FormElement
- Direct Known Subclasses:
FieldData
,FormLine
,FormSelectionMark
,FormTableCell
,FormWord
Represents a form element recognized from the input document. Its text can be a line,
a word, the content of a table cell, a selection mark, etc.
-
Method Summary
Modifier and TypeMethodDescriptionBoundingBox property of the element.int
Get the 1-based page number in the input document.getText()
The text content of the form element.
-
Method Details
-
getBoundingBox
BoundingBox property of the element.- Returns:
- the bounding box of the element.
-
getText
The text content of the form element.- Returns:
- The text content of the form element.
-
getPageNumber
public int getPageNumber()Get the 1-based page number in the input document.- Returns:
- the page number value.
-