GetActionNextCount
Annotations and hotspot links
Description
Returns the number of chained next-actions attached to the specified action
Syntax
Delphi
Function TPDFlib.GetActionNextCount(ActionID: Integer): Integer;
DLL
int DLGetActionNextCount(int InstanceID, int ActionID);
Parameters
| ActionID | An ActionID as returned by GetAnnotActionID, GetOutlineActionID, or GetFormFieldActionID |
|---|
Return values
| 0 | The action has no resolvable next-actions, or the specified ActionID was not valid |
|---|---|
| >0 | The number of resolvable next-action dictionaries in the action chain |
Remarks
The count covers both the single-dictionary and array forms of the PDF /Next entry
Use GetActionNextInfo with a 1-based index from this count to inspect each chained action