THotPDF.ExportLoadedFormToFDF Method
Exports the form data of the loaded document as an FDF file
Declaration
function ExportLoadedFormToFDF(const AFileName: TFileName): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AFileName | File path used as the source or destination for this operation |
Return value
Returns the number of fields exported
Usage notes
- Extracts the form content the user has filled in
- Retains empty selection arrays and preserves string encoding and option values containing line breaks
- Scalar getters keep their existing contract; use this export operation to retain multi-selection arrays