DocumentFigure Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. DocumentFigure
- com.
Implements
public final class DocumentFigure
implements JsonSerializable<DocumentFigure>
An object representing a figure in the document.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Document |
fromJson(JsonReader jsonReader)
Reads an instance of Document |
List<Bounding |
getBoundingRegions()
Get the bounding |
Document |
getCaption()
Get the caption property: Caption associated with the figure. |
List<String> |
getElements()
Get the elements property: Child elements of the figure, excluding any caption or footnotes. |
List<Document |
getFootnotes()
Get the footnotes property: List of footnotes associated with the figure. |
String |
getId()
Get the id property: Figure ID. |
List<Document |
getSpans()
Get the spans property: Location of the figure in the reading order concatenated content. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static DocumentFigure fromJson(JsonReader jsonReader)
Reads an instance of DocumentFigure from the JsonReader.
Parameters:
Returns:
Throws:
getBoundingRegions
public List
Get the boundingRegions property: Bounding regions covering the figure.
Returns:
getCaption
public DocumentCaption getCaption()
Get the caption property: Caption associated with the figure.
Returns:
getElements
public List
Get the elements property: Child elements of the figure, excluding any caption or footnotes.
Returns:
getFootnotes
public List
Get the footnotes property: List of footnotes associated with the figure.
Returns:
getId
public String getId()
Get the id property: Figure ID.
Returns:
getSpans
public List
Get the spans property: Location of the figure in the reading order concatenated content.
Returns:
toJson
Applies to
Azure SDK for Java