FormElement Class
- java.
lang. Object - com.
azure. ai. formrecognizer. models. FormElement
- com.
public abstract class FormElement
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 Type | Method and Description |
---|---|
Field |
getBoundingBox()
Bounding |
int |
getPageNumber()
Get the 1-based page number in the input document. |
String |
getText()
The text content of the form element. |
Methods inherited from java.lang.Object
Method Details
getBoundingBox
public FieldBoundingBox getBoundingBox()
BoundingBox property of the element.
Returns:
getPageNumber
public int getPageNumber()
Get the 1-based page number in the input document.
Returns:
getText
public String getText()
The text content of the form element.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for