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

    Type Alias TextLineFragment

    Represents a range of characters in a text line.

    type TextLineFragment = {
        length: number;
        lineIndex: number;
        startIndex: number;
    }
    Index

    Properties

    length: number

    The number of text char in this fragment. A value of -1 indicates that this fragment includes all characters from 'startIndex' to the end of the line.

    lineIndex: number

    The index of the text line in the text map.

    startIndex: number

    The index of the first char in the text line.