API referenceImport & Output APIs

pdfSetImportFlags2

Set the secondary flag mask (if2MergeLayers, if2Normalize,

Purpose — Set the secondary flag mask (if2MergeLayers, if2Normalize, if2UseProxy, …).

Description — The value is stored and readable via pdfGetImportFlags2, but no engine code path consults it yet — the if2* behaviors are not implemented. Provided for ABI compatibility.

C
BOOL32 __stdcall pdfSetImportFlags2(PPDF IPDF, uint32_t Flags);

Return valueTRUE unless the instance handle is invalid.

C# (P/Invoke)

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

Setters

Exported names

pdfSetImportFlags2

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.