Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DocumentPage

Package version

Content and layout elements extracted from a page from the input. A page within an analysis result.

Hierarchy

  • DocumentPage

Index

Properties

angle

angle: number

The general orientation of the content in clockwise direction, measured in degrees between (-180, 180]. The general orientation of the content in clockwise direction, measured in degrees between (-180, 180].

height

height: number

The height of the image/PDF in pixels/inches, respectively. The height of the image/PDF in pixels/inches, respectively.

lines

lines: DocumentLine[]

Extracted lines from the page, potentially containing both textual and visual elements. Extracted lines from the page, potentially containing both textual and visual elements.

pageNumber

pageNumber: number

1-based page number in the input document. 1-based page number in the input document.

Optional selectionMarks

selectionMarks: DocumentSelectionMark[]

Extracted selection marks from the page. Extracted selection marks from the page.

spans

spans: DocumentSpan[]

Location of the page in the reading order concatenated content. Location of the page in the reading order concatenated content.

unit

The unit used by the width, height, and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch". The unit used by the width, height, and boundingBox properties. For images, the unit is "pixel". For PDF, the unit is "inch".

width

width: number

The width of the image/PDF in pixels/inches, respectively. The width of the image/PDF in pixels/inches, respectively.

words

words: DocumentWord[]

Extracted words from the page. Extracted words from the page.

Generated using TypeDoc