public final class FieldData extends FormElement
| Constructor and Description |
|---|
FieldData(String text,
FieldBoundingBox boundingBox,
int pageNumber,
List<FormElement> fieldElements)
Creates raw OCR FieldData item.
|
| Modifier and Type | Method and Description |
|---|---|
FieldBoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
List<FormElement> |
getFieldElements()
When `includeFieldElements` is set to true, gets a list of reference elements constituting
this
FieldData. |
int |
getPageNumber()
Get the 1-based page number in the input document.
|
String |
getText()
The text content of the form element.
|
public FieldData(String text, FieldBoundingBox boundingBox, int pageNumber, List<FormElement> fieldElements)
text - The text content of this form element.boundingBox - The Bounding Box of the recognized field.pageNumber - the 1 based page number.fieldElements - The list of element references when includeFieldElements is set to true.public FieldBoundingBox getBoundingBox()
getBoundingBox in class FormElementpublic String getText()
getText in class FormElementpublic int getPageNumber()
getPageNumber in class FormElementpublic List<FormElement> getFieldElements()
FieldData.FieldData.Copyright © 2021 Microsoft Corporation. All rights reserved.