GetAnnotActionID
Annotations and hotspot links
Description
This function will return an ActionID if the specified annotation has an action dictionary
The ActionID can be used with the GetActionType and GetActionDest functions and can also be compared to the values returned by GetOutlineActionID to determine if an annotation action is shared with an outline action
Syntax
Delphi
Function TPDFlib.GetAnnotActionID(Index: Integer): Integer;
ActiveX
Function PDFlib::GetAnnotActionID(Index As Long) As Long
DLL
int DLGetAnnotActionID(int InstanceID, int Index);
Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1 |
|---|
Return values
Returns the action ID of the annotation's main action, or 0 when the annotation carries no action