Skip to content

PDFDocumentProxy.getViewerPreferences method

PDFDocumentProxy › getViewerPreferences

Unofficial

Gets the viewer preferences.

Signature:

getViewerPreferences(): Promise<null | Record<string, unknown>>

Returns: Promise<null | Record<string, unknown>>A promise resolving to viewer preferences, or null if not defined.