pdfrx_web
    Preparing search index...

    Interface PdfSelectedTextRange

    A resolved per-page selection range with its text and geometry.

    interface PdfSelectedTextRange {
        bounds: PdfRect;
        charRects: readonly PdfRect[];
        end: number;
        pageNumber: number;
        start: number;
        text: string;
    }
    Index
    bounds: PdfRect

    Bounding rectangle over the whole range, in PDF page coordinates (points, origin bottom-left, y-up).

    charRects: readonly PdfRect[]

    One bounding rectangle per character in the range, in PDF page coordinates.

    end: number

    Exclusive end index into the page's fullText.

    pageNumber: number

    1-based page number this range belongs to.

    start: number

    Inclusive start index into the page's fullText.

    text: string

    The range's text.