pdfextract API
    Preparing search index...

    Interface TextLine

    Spans grouped into a deterministic geometric baseline row, without a semantic-layout guarantee.

    interface TextLine {
        bbox: Box;
        spans: TextSpan[];
        text: string;
    }
    Index
    bbox: Box

    Union of span bounds in canonical page points.

    spans: TextSpan[]

    Ordered text runs/words with individual provenance.

    text: string

    Text derived from this line’s ordered spans.