AddActionNextNamed
Annotations and hotspot links, Page properties
Description
Reference page for AddActionNextNamed; The function belongs to Annotations and hotspot links, Page properties and keeps all identifiers exactly as shown
Syntax
Delphi
Function TPDFlib.AddActionNextNamed(ActionID, NamedActionType: Integer): Integer;
DLL
int DLAddActionNextNamed(int InstanceID, int ActionID, int NamedActionType);
Return values
| ActionID | An ActionID as returned by GetAnnotActionID, GetOutlineActionID, or GetFormFieldActionID |
|---|---|
| NamedActionType | 0 for NextPage, 1 for PrevPage, 2 for FirstPage, or 3 for LastPage |
Return values
| 0 | The specified ActionID was not valid |
|---|---|
| 1 | The named next-action was appended successfully |
See also
The function writes the PDF action /Next entry without replacing the primary action, preserving any existing chained actions
Values outside the documented NamedActionType range are treated as NextPage for compatibility with named-action link creation