API reference › Import & Output APIs
pdfImportCatalogObjects
Copy viewer-level catalog settings from the source.
Purpose — Copy viewer-level catalog settings from the source.
Description — Reads the source catalog's /PageLayout (SinglePage, OneColumn, TwoColumnLeft/Right, TwoPageLeft/Right) and /PageMode (UseNone, UseOutlines, UseThumbs, FullScreen, UseOC, UseAttachments) and applies them to the destination via the pdfSetPageLayout/pdfSetPageMode paths. Other catalog objects (open actions, names trees, …) are not brought across by this call.
BOOL32 __stdcall pdfImportCatalogObjects(PPDF IPDF);
Return value — TRUE when an import source is open; FALSE otherwise.
C# (P/Invoke)
[return: MarshalAs(UnmanagedType.Bool)]
Import
pdfImportCatalogObjects
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.