public class FloatValue extends FieldValue<Float>
FieldValue.getValueNumber()
Constructor and Description |
---|
FloatValue(String text,
BoundingBox boundingBox,
Float valueNumber,
int pageNumber)
Constructs a FloatValue.
|
Modifier and Type | Method and Description |
---|---|
BoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
Float |
getConfidence()
Get the confidence property: Confidence score.
|
List<Element> |
getElements()
Get the elements property: When includeTextDetails is set to true, a
list of references to the text elements constituting this field.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
String |
getText()
The text of the extracted item.
|
FieldValueType |
getType()
Gets the
type the field value. |
Float |
getValue()
Gets the field value.
|
setConfidence, setElements
public FloatValue(String text, BoundingBox boundingBox, Float valueNumber, int pageNumber)
text
- The text content of the extracted field.boundingBox
- Bounding box of the field value.valueNumber
- Floating point value.pageNumber
- The 1 based page number of the document on which this field is found.public int getPageNumber()
getPageNumber
in class FieldValue<Float>
public BoundingBox getBoundingBox()
getBoundingBox
in class RawItem
public String getText()
public Float getValue()
getValue
in class FieldValue<Float>
public FieldValueType getType()
type
the field value.getType
in class FieldValue<Float>
type
the field value.public List<Element> getElements()
getElements
in class FieldValue<Float>
public Float getConfidence()
getConfidence
in class FieldValue<Float>
Copyright © 2020 Microsoft Corporation. All rights reserved.