function ExportXFDFToStream(Stream: TStream): Integer;
| Stream | TStream. Destination for the XFDF document |
| Result | Integer. Number of exported items - form fields plus annotations |
XFDF (ISO 19444-1) is the XML interchange format for form data and annotations. The export serialises every form field value and every annotation across all pages, which is what moves markup and answers between two copies of the same document
When the document was loaded from a file, its name is recorded in the XFDF header so a consumer can tell which document the data belongs to
Read the data back with ImportXFDF. The ExportXFDF overloads offer the same output for a file or a stream