Component: TPdf · Unit: PDFium
Returns the number of XFA packets stored in the document /AcroForm /XFA entry (the XDP packets such as template, datasets, config, localeSet)
Remarks
- Returns 0 for a non-XFA document or when the packet reader is unavailable
- Works without an XFA-enabled runtime — the underlying FPDF_GetXFAPacketCount export is present in any modern pdfium.dll
- Pair with GetXfaPacketName and GetXfaPacketContent to enumerate packet contents
See Also