API referenceCore SDK

pdfClearAutoTemplates

Clear the list of templates registered for automatic

C
BOOL32 __stdcall pdfClearAutoTemplates(PPDF IPDF);
Delphi
function pdfClearAutoTemplates(const IPDF: PPDF): LongBool; stdcall;

Purpose. Clear the list of templates registered for automatic placement on every newly-appended page (FAutoTmplCount, consulted in AppendPage, V04's page-creation path).

Return value. True if IPDF is valid.

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category

Core

Exported names

pdfClearAutoTemplates

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.