THotPDF.ImportLoadedInterchangeFromFDF Method

function ImportLoadedInterchangeFromFDF(Source: TStream;
  ApplyFields, ApplyAnnotations: Boolean; out Status: AnsiString;
  out AInfo: THPDFFDFInterchangeInfo): Boolean;

Reads an FDF 1.2 stream and independently applies field values and annotations to the loaded document

Status is returned even when the caller disables field or annotation application

Imported annotations retain page, subtype, rectangle, contents, title, and flags

Choice arrays are validated before replacing the target value and selection indices; empty arrays clear the selection, while scalar fields retain the stream API's existing update behavior

Unknown fields and rejected field updates can raise exceptions; this operation is not a transaction across all imported fields

Arrays require a multi-select choice field and direct string elements; unresolved FDF references are not interpreted as target PDF object numbers