THPDFWindowsFormDataTransaction.ExportAnnotationsFDF

function ExportAnnotationsFDF(const Options: THPDFFDFOptions;
  out Bytes: SysUtils.TBytes): Integer;

Return the annotation count and write bounded binary FDF into Bytes from the authenticated current PDF graph

The graph retains supplied appearance states, shared fonts and images, exact numeric tokens and binary stream contents; local explicit GoTo destinations are exported in their actual action context

Export requires extraction permission and uses the transaction's borrowed source and working limits without publishing a candidate PDF

Options.CancellationToken must be nil or equal to the transaction token; failure or cancellation leaves the borrowed document unchanged

See native annotation FDF exchange, THPDFFDFOptions and transaction ownership