AttachAnnotToForm
Form fields, Annotations and hotspot links
Version history
This function was introduced in Quick PDF Library version 7.18.
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 TQuickPDF0813.AttachAnnotToForm(Index: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::AttachAnnotToForm(Index As Long) As Long
DLL
int QuickPDFAttachAnnotToForm(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. |