ImportAnnotationsFromXFDFString
Annotations and hotspot links
Description
Imports ISO 19444 XFDF <annots> data from memory and inserts matching annotations into the selected PDF document. The current interchange subset reads known annotation element names, the zero-based page attribute, the required rect attribute, optional color, flags, name, date, creationdate, opacity, width, style, dashes, title and subject attributes, and a plain <contents> child element
Syntax
Delphi
Function TPDFlib.ImportAnnotationsFromXFDFString(Const XFDF: WideString): Integer;Parameters
| XFDF | XFDF XML text containing an <annots> container |
|---|
Return values
| >= 0 | The number of annotations inserted into valid target pages |
|---|
Remarks
Entries with unsupported annotation elements, missing rectangles or out-of-range page indexes are skipped