modern-pdf-lib / parseViewerPreferences
Function: parseViewerPreferences()
parseViewerPreferences(
dict):ViewerPreferences
Defined in: src/metadata/viewerPreferences.ts:149
Parse a /ViewerPreferences dictionary into a ViewerPreferences object.
Parameters
dict
The PDF dictionary to parse.
Returns
The parsed viewer preferences.