DocumentFigureOutput interface

An object representing a figure in the document.

Properties

boundingRegions

Bounding regions covering the figure.

caption

Caption associated with the figure.

elements

Child elements of the figure, excluding any caption or footnotes.

footnotes

List of footnotes associated with the figure.

id

Figure ID.

spans

Location of the figure in the reading order concatenated content.

Property Details

boundingRegions

Bounding regions covering the figure.

boundingRegions?: BoundingRegionOutput[]

Property Value

caption

Caption associated with the figure.

caption?: DocumentCaptionOutput

Property Value

elements

Child elements of the figure, excluding any caption or footnotes.

elements?: string[]

Property Value

string[]

footnotes

List of footnotes associated with the figure.

footnotes?: DocumentFootnoteOutput[]

Property Value

id

Figure ID.

id?: string

Property Value

string

spans

Location of the figure in the reading order concatenated content.

spans: DocumentSpanOutput[]

Property Value