public final class FormSelectionMark extends FormElement
| Constructor and Description |
|---|
FormSelectionMark(String text,
FieldBoundingBox boundingBox,
int pageNumber)
Creates a FormSelectionMark.
|
| Modifier and Type | Method and Description |
|---|---|
FieldBoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
float |
getConfidence()
Gets the confidence property of the selection mark.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
SelectionMarkState |
getState()
Gets the state property of the selection mark.
|
String |
getText()
The text content of the form element.
|
public FormSelectionMark(String text, FieldBoundingBox boundingBox, int pageNumber)
text - The text content of the extracted element.boundingBox - The BoundingBox specifying relative coordinates of the element.pageNumber - the 1 based page number.public FieldBoundingBox getBoundingBox()
getBoundingBox in class FormElementpublic String getText()
getText in class FormElementpublic int getPageNumber()
getPageNumber in class FormElementpublic SelectionMarkState getState()
public float getConfidence()
Copyright © 2021 Microsoft Corporation. All rights reserved.