Skip to main content

TdxPDFForm.LoadDataFromFile(string) Method

Loads interactive field values from a specified file.

Declaration

procedure LoadDataFromFile(const AFileName: string);

Parameters

Name Type Description
AFileName string

The absolute or relative path to a source file with interactive field values.

Remarks

This procedure supports the following file name extensions to identify the source file’s format:

File Name Extension Format Description
fdf or FDF FDF Forms Data Format.
txt or TXT TXT Plain text format.
xfd or XFD XFDF XML Forms Data Format.
xml or XML XML Extensible Markup Language format.

Note

A LoadDataFromFile procedure call raises the PDF document container’s OnChanged event if one or more field values change. The procedure ignores all source file fields that do not correspond to existing fields in the document.

See Also