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:
the bounding box of the element.
getPageNumber
public int getPageNumber()
Get the 1-based page number in the input document.
Returns:
the page number value.
getText
public String getText()
The text content of the form element.
Returns:
The text content of the form element.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java