[]
DsPdfJS API / OutputRange
OutputRange =
object
Specifies which pages of the PDF document has to be exported or merged. Note: all page numbers are 1-based.
optionalfromPage:number
The number of the first page (1-based) to include.
optionalinverted:boolean
Indicates if the range's iterator should go from the end of the range backwards.
optionalpageNumbers:number[]
The array of page numbers (1-based) to include.
optionalpages: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.
optionaltoPage:number
The number of the last page (1-based) to include.