Copy /ViewerPreferences from one document to another
Source: R/api_completion.R
pdf_docs_copy_viewer_preferences.RdWraps FPDF_CopyViewerPreferences. Copies the source document's
/ViewerPreferences dictionary (PageLayout, PageMode,
NonFullScreenPageMode, Direction, ViewArea, ViewClip, PrintArea,
PrintClip, PrintScaling, Duplex, PickTrayByPDFSize,
PrintPageRange, NumCopies, etc.) into the destination document.
PDFium creates the entry on dest_doc if absent, replaces it
otherwise.