# PdfJsDocumentOptions reference

Per-instance options forwarded to `pdfjs-dist`'s `getDocument` (for example `cMapUrl`,
`standardFontDataUrl` or `verbosity`). Source-related options are managed by the viewer.

## Used by

- [PDF.js configuration](https://react-pdf-viewer-chi.vercel.app/react-pdf-viewer/pdfjs-configuration.md)

## Import

```ts
import type { PdfJsDocumentOptions } from '@kingtech/react-pdf-viewer';
```

Signature: `type PdfJsDocumentOptions = Omit<DocumentInitParameters, 'url' | 'data' | 'password' | 'range' | 'worker' | 'httpHeaders' | 'withCredentials'>`

## Source

[packages/react-pdf-viewer/src/types.ts](https://github.com/kiralygyula92/react-pdf-viewer/blob/main/packages/react-pdf-viewer/src/types.ts#L110)

