DocumentPage interface

文件頁面的內容。

屬性

angle

內容物順時針方向的一般方向,以 (-180, 180) 之間的度數測量。 只有在 enableOcr 為真時才會。

barcodes

頁面中的條碼列表。 只有在 enenable Barcode 和 returnDetails 為真時才會啟用。

formulas

頁面上的數學公式列表。 只有當 enableFormula 和 returnDetails 為真時。

height

頁面高度。

lines

頁面中的行數列表。 只有在 enableOcr 和 returnDetails 都成立時才會如此。

pageNumber

頁碼(以1為基礎)。

spans

與標記降級內容中頁面相關的跨度。

width

頁面寬度。

words

頁面中的單字列表。 只有在 enableOcr 和 returnDetails 都成立時才會如此。

屬性詳細資料

angle

內容物順時針方向的一般方向,以 (-180, 180) 之間的度數測量。 只有在 enableOcr 為真時才會。

angle?: number

屬性值

number

barcodes

頁面中的條碼列表。 只有在 enenable Barcode 和 returnDetails 為真時才會啟用。

barcodes?: DocumentBarcode[]

屬性值

formulas

頁面上的數學公式列表。 只有當 enableFormula 和 returnDetails 為真時。

formulas?: DocumentFormula[]

屬性值

height

頁面高度。

height?: number

屬性值

number

lines

頁面中的行數列表。 只有在 enableOcr 和 returnDetails 都成立時才會如此。

lines?: DocumentLine[]

屬性值

pageNumber

頁碼(以1為基礎)。

pageNumber: number

屬性值

number

spans

與標記降級內容中頁面相關的跨度。

spans?: ContentSpan[]

屬性值

width

頁面寬度。

width?: number

屬性值

number

words

頁面中的單字列表。 只有在 enableOcr 和 returnDetails 都成立時才會如此。

words?: DocumentWord[]

屬性值