DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias FoundPosition

    Defines a position on the PdfDocument's page where the text was found.

    type FoundPosition = {
        bounds: Quadrilateral[];
        nearText: string;
        pageIndex: number;
        positionInNearText: number;
        textMapFragment: TextMapFragment;
    }
    Index

    Properties

    bounds: Quadrilateral[]

    The array of Quadrilateral defining the area of found text on the page.

    nearText: string

    The text near the found position.

    pageIndex: number

    The page index.

    positionInNearText: number

    The zero-based position of the found string in 'nearText'.

    textMapFragment: TextMapFragment

    The TextMapFragment defining the position of found text.