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

IndexThe index of the annotation. The first annotation on the page has an index of 1.