PDFium Delphi Component Docs

ExportXFDFToStream method

Component: TPdf  ·  Unit: PDFium
Writes the whole document's form values and annotations to a stream as XFDF

Syntax

function ExportXFDFToStream(Stream: TStream): Integer;

StreamTStream. Destination for the XFDF document
ResultInteger. Number of exported items - form fields plus annotations

Description

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

See Also

ExportXFDF, ImportXFDF, ExportFDF, FormField