API referenceImport & 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.

C
BOOL32 __stdcall pdfImportCatalogObjects(PPDF IPDF);

Return valueTRUE when an import source is open; FALSE otherwise.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Import & Output APIs
Category

Import

Exported names

pdfImportCatalogObjects

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.