happypdf / extractPageContents
Function: extractPageContents()
ts
function extractPageContents(page): PdfAsset[];Defined in: src/api/extraction/extractPageContents.ts:58
Extract typed text, image, and vector graphics assets from a page's content streams.
Parameters
| Parameter | Type |
|---|---|
page | PDFPageLeaf |
Returns
PdfAsset[]