C
void __stdcall pdfDeleteXFAForm(PPDF IPDF);
Delphi
procedure pdfDeleteXFAForm(const IPDF: PPDF); stdcall;
Purpose. Drop every authored XFA packet (from pdfCreateXFAStream, Document Info & Structure Tree) — per an inline source comment, "all authored XFA packets... are dropped, so the serialised AcroForm has no /XFA."
Return value. None.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern void pdfDeleteXFAForm(IntPtr IPDF);
Area
Forms
Category
Core
Exported names
pdfDeleteXFAForm
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.