Back to Devexpress

TdxPDFForm.LoadDataFromFile(string) Method

vcl-dxpdfform-dot-tdxpdfform-dot-loaddatafromfile-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

TdxPDFForm.LoadDataFromFile(string) Method

Loads interactive field values from a specified file.

Declaration

delphi
procedure LoadDataFromFile(const AFileName: string);

Parameters

NameTypeDescription
AFileNamestring

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 ExtensionFormatDescription
fdf or FDFFDFForms Data Format.
txt or TXTTXTPlain text format.
xfd or XFDXFDFXML Forms Data Format.
xml or XMLXMLExtensible 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

TdxPDFForm Class

TdxPDFForm Members

dxPDFForm Unit