public final class FormLine extends FormElement
| Constructor and Description |
|---|
FormLine(String text,
FieldBoundingBox boundingBox,
Integer pageNumber,
List<FormWord> words)
Creates raw OCR item.
|
| Modifier and Type | Method and Description |
|---|---|
TextAppearance |
getAppearance()
Get the appearance of the text line.
|
FieldBoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
String |
getText()
The text content of the form element.
|
List<FormWord> |
getWords()
Get the list of words in the text line.
|
public FormLine(String text, FieldBoundingBox boundingBox, Integer pageNumber, List<FormWord> words)
text - The text content of recognized field.boundingBox - The BoundingBox of the recognized field.pageNumber - the page number.words - The list of word element references.public List<FormWord> getWords()
FormLine.public FieldBoundingBox getBoundingBox()
getBoundingBox in class FormElementpublic String getText()
getText in class FormElementpublic int getPageNumber()
getPageNumber in class FormElementpublic TextAppearance getAppearance()
Copyright © 2021 Microsoft Corporation. All rights reserved.