ImportAnnotationsFromFDF
Annotations and hotspot links
Description
Reads an FDF file containing an /Annots array, such as the files written by Acrobat with Export Comments to FDF, and imports each entry as a new annotation on the matching page of the selected PDF document. This is the file-based counterpart of ImportAnnotationsFromFDFString and shares its parsing behavior
Syntax
Delphi
Function TPDFlib.ImportAnnotationsFromFDF(Const FDFFileName: WideString): Integer;
Parameters
| FDFFileName | Path to an FDF file containing an /Annots array of annotation entries |
|---|
Return values
| >= 0 | The number of annotations added to the document; entries skipped because their /Page is outside the document or they have no /Subtype are not counted |
|---|
Remarks
Imported annotations are added to the target pages; existing annotations are left untouched. Use ImportAnnotationsFromFDFString when the FDF data is already available in memory
See also
ImportAnnotationsFromFDFString, ExportAnnotationsToFDF, ExportAnnotationsToFDFString, ImportAnnotationsFromXFDF