Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface DocumentLine
import { type DocumentLine } from "https://deno.land/x/aiformrecognizer@v1.2.0/src/interfaces/document-analysis.ts";

A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.

Properties

content: string

Concatenated content of the contained elements in reading order.

optional
polygon: number[]

Bounding polygon of the line.

spans: DocumentSpan[]

Location of the line in the reading order concatenated content.