ImportPagesOptions
Defined in: src/core/types.ts:1619
Options for importing pages from another document.
Properties
Section titled “Properties”insertIndex?
Section titled “insertIndex?”
optionalinsertIndex:number
Defined in: src/core/types.ts:1637
Zero-based index where pages should be inserted.
If undefined, pages are appended to the end.
pageRange?
Section titled “pageRange?”
optionalpageRange:string
Defined in: src/core/types.ts:1630
Page range string specifying which pages to import.
Format: comma-separated page numbers and ranges (1-indexed). Examples:
- “1,2,3” - pages 1, 2, and 3
- “1-5” - pages 1 through 5
- “1,3,5-7” - pages 1, 3, 5, 6, and 7
- undefined/null - all pages