pdfrx_web
    Preparing search index...

    Interface PdfPageTextFragment

    A contiguous run of characters sharing one reading direction — a word, a space, or a line break.

    interface PdfPageTextFragment {
        bounds: PdfRect;
        direction: PdfTextDirection;
        index: number;
        length: number;
    }
    Index
    bounds: PdfRect

    Bounds of the fragment in PDF page coordinates.

    direction: PdfTextDirection
    index: number

    Fragment's start index on PdfPageText.fullText.

    length: number

    Length of the fragment in UTF-16 code units.