function ExportFDF(const FileName: string): Integer; overload;
function ExportFDF(Stream: TStream): Integer; overload;
ExportFDF walks widget annotations across every page, rebuilds the hierarchical field tree from qualified names, and writes an FDF 1.2 document as defined by ISO 32000-1 section 12.7.11
Printable ASCII values use escaped PDF literal strings, while non-ASCII names and values use BOM-prefixed UTF-16BE hexadecimal text strings
When the loaded PDF has a file name, its base name is written to the FDF /F entry with PDF text-string escaping
Returns the number of bytes written
// Export the current form values to FDF
BytesWritten := Pdf1.ExportFDF('C:\Data\form.fdf');