function XfaBStrHelpersAvailable: Boolean;
Returns True when XFA BSTR helper exports are present in the loaded PDFium DLL
XFA support requires a special PDFium build with FPDFXFA_* exports; without it, XFA documents render as the static fallback only
Unit-level function in the PDFium unit; checks the loaded DLL for the symbols at runtime
PDFium; can be called without creating a TPdf instance
if PDFium.XfaBStrHelpersAvailable then
Memo1.Lines.Add('XfaBStrHelpersAvailable = True')
else
Memo1.Lines.Add('XfaBStrHelpersAvailable = False');