AttachAnnotToForm
Form fields, Annotations and hotspot links
Description
This functions attaches an annotation to the document form.
Use the IsAnnotFormField function to check if the specified annotation can be attached to the document form and whether it is currently attached or not.
Syntax
Delphi
function TPDFlib.AttachAnnotToForm(Index: Integer): Integer;ActiveX
Function PDFlib::AttachAnnotToForm(Index As Long) As LongDLL
int DLAttachAnnotToForm(int InstanceID, int Index);Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
|---|
Return values
| 0 | The specified annotation could not be attached to the document form. |
|---|---|
| 1 | The specified annotation was attached successfully to the document form. |