Share via


DocumentPage interface

Content from a document page.

Properties

angle

The general orientation of the content in clockwise direction, measured in degrees between (-180, 180]. Only if enableOcr is true.

barcodes

List of barcodes in the page. Only if enableBarcode and returnDetails are true.

formulas

List of mathematical formulas in the page. Only if enableFormula and returnDetails are true.

height

Height of the page.

lines

List of lines in the page. Only if enableOcr and returnDetails are true.

pageNumber

Page number (1-based).

spans

Span(s) associated with the page in the markdown content.

width

Width of the page.

words

List of words in the page. Only if enableOcr and returnDetails are true.

Property Details

angle

The general orientation of the content in clockwise direction, measured in degrees between (-180, 180]. Only if enableOcr is true.

angle?: number

Property Value

number

barcodes

List of barcodes in the page. Only if enableBarcode and returnDetails are true.

barcodes?: DocumentBarcode[]

Property Value

formulas

List of mathematical formulas in the page. Only if enableFormula and returnDetails are true.

formulas?: DocumentFormula[]

Property Value

height

Height of the page.

height?: number

Property Value

number

lines

List of lines in the page. Only if enableOcr and returnDetails are true.

lines?: DocumentLine[]

Property Value

pageNumber

Page number (1-based).

pageNumber: number

Property Value

number

spans

Span(s) associated with the page in the markdown content.

spans?: ContentSpan[]

Property Value

width

Width of the page.

width?: number

Property Value

number

words

List of words in the page. Only if enableOcr and returnDetails are true.

words?: DocumentWord[]

Property Value