public final class FormWord extends FormElement
Constructor and Description |
---|
FormWord(String text,
FieldBoundingBox boundingBox,
int pageNumber,
float confidence)
Constructs a FormWord object.
|
Modifier and Type | Method and Description |
---|---|
FieldBoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
float |
getConfidence()
Gets the confidence property of the Form Word.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
String |
getText()
The text content of the form element.
|
public FormWord(String text, FieldBoundingBox boundingBox, int pageNumber, float confidence)
text
- the text content of recognized field.boundingBox
- the BoundingBox of recognized field.pageNumber
- the 1 based page number.confidence
- the confidence property of the Form Word.public float getConfidence()
public FieldBoundingBox getBoundingBox()
getBoundingBox
in class FormElement
public String getText()
getText
in class FormElement
public int getPageNumber()
getPageNumber
in class FormElement
Copyright © 2021. All rights reserved.