Function: splitDocument()
function splitDocument(data): Uint8Array<ArrayBufferLike>[];
Splits a PDF into one single-page PDF byte array per source page.
Parameters
| Parameter | Type | Description |
|---|---|---|
data | BinaryData | The source PDF bytes. |
Returns
Uint8Array<ArrayBufferLike>[]
One PDF byte array per source page.