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

    Type Alias OutputRange

    Specifies which pages of the PDF document has to be exported or merged. Note: all page numbers are 1-based.

    type OutputRange = {
        fromPage?: number;
        inverted?: boolean;
        pageNumbers?: number[];
        pages?: string;
        toPage?: number;
    }
    Index

    Properties

    fromPage?: number

    The number of the first page (1-based) to include.

    inverted?: boolean

    Indicates if the range's iterator should go from the end of the range backwards.

    pageNumbers?: number[]

    The array of page numbers (1-based) to include.

    pages?: string

    The string specifying page numbers (1-based) and page intervals with dashes ('-'), separated by commas (','). A dash at the start or at the end of interval implies infinity.

    toPage?: number

    The number of the last page (1-based) to include.