Component: TPdf · Unit: PDFium
property XfaRuntimeAvailable: Boolean read GetXfaRuntimeAvailable;
Reports whether the XFA engine was actually activated for this document (the BStr helpers resolved AND FPDF_LoadXFA returned true), as opposed to merely carrying an XFA payload
Remarks
- Requires pdfium.v8.dll built with PDF_ENABLE_XFA — a plain pdfium.dll returns False even on an XFA document
- Distinct from the XFA property, which only reports whether the document contains an XFA payload, not whether the runtime can execute it
- A running XFA engine does not guarantee that edited field values survive saving; see the current persistence limits on SaveAs
- When False on an XFA document, the form still loads but XFA scripting and dynamic layout are unavailable; the OnXfaRuntimeMissing event fires to let the host advise restarting with the V8 build
See Also