ComPDFKit Web SDK
    Preparing search index...

    Interface ContentTextPosition

    Layout positions in the content text model; charIndex -1 means before the first character.

    interface ContentTextPosition {
        charIndex: number;
        lineIndex: number;
        runIndex: number;
        sectionIndex: number;
    }
    Index
    charIndex: number

    Character index within the run; -1 means before the first character.

    lineIndex: number

    Line index within the section.

    runIndex: number

    Run index within the line.

    sectionIndex: number

    Section index.