Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

SplitBy

type SplitBy =
| {
count: number;
}
| {
ranges: readonly (readonly string[])[];
}
| {
bookmarks: number;
};

Defined in: packages/sdk/src/document.ts:223

Where Document.split cuts a document: every count pages, at the lists of page IDs in ranges, or where the bookmarks at depth bookmarks (1: the top level) begin.

0.3.0