property XFA: Boolean; // read-only
Read-only property that answers True when FormType is ftXfaFull or ftXfaForeground on the currently open document
To read the raw XFA XML packets embedded in the document, use GetXfaPacketCount and GetXfaPacketContent
Wraps the corresponding PDFium form-type check and exposes it as a TPdf instance member so consumers need not manage FPDF_DOCUMENT handles directly
False when Active is False or when the document uses standard AcroForm widgets or no forms at allXfaRuntimeAvailable and XfaStaticReadable to tell dynamic XFA runtime capability apart from static packet inspectionGetXfaPacketCount, GetXfaPacketName and GetXfaPacketContent to inspect individual XFA packets
Pdf1.Active := True;
if Pdf1.XFA then
ShowMessage('XFA packets: ' + IntToStr(Pdf1.GetXfaPacketCount));