PdfJsModule.getDocument method
PdfJsModule › getDocument
Unofficial
Loads a PDF document from the given source.Signature:
getDocument(src: string | ArrayBuffer | DocumentInitParameters | Uint8Array<ArrayBufferLike> | URL): PDFDocumentLoadingTaskParameters:
| Parameter | Type | Description |
|---|---|---|
| src | string | ArrayBuffer | DocumentInitParameters | Uint8Array<ArrayBufferLike> | URL | The document source. |
Returns: PDFDocumentLoadingTask — The loading task for the document.