public final class WordElement extends Element
ElementType.WORD
Constructor and Description |
---|
WordElement(String text,
BoundingBox boundingBox)
Creates an
element of type Word. |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
String |
getText()
The text of the extracted item.
|
ElementType |
getType() |
public WordElement(String text, BoundingBox boundingBox)
element
of type Word.text
- Text content of the extracted field.boundingBox
- Bounding box of the field value, if appropriate.public ElementType getType()
public BoundingBox getBoundingBox()
getBoundingBox
in class RawItem
Copyright © 2020 Microsoft Corporation. All rights reserved.