DocumentParagraph interface
A paragraph object consisting with contiguous lines generally with common alignment and spacing.
Properties
| bounding |
Bounding regions covering the paragraph. |
| content | Concatenated content of the paragraph in reading order. |
| role | Semantic role of the paragraph. |
| spans | Location of the paragraph in the reading order concatenated content. |
Property Details
boundingRegions
Bounding regions covering the paragraph.
boundingRegions?: BoundingRegion[]
Property Value
content
Concatenated content of the paragraph in reading order.
content: string
Property Value
string
role
Semantic role of the paragraph.
role?: string
Property Value
string
spans
Location of the paragraph in the reading order concatenated content.
spans: DocumentSpan[]