GetActionDest

Annotations and hotspot links

Description

This function will return a DestID if the specified action has a destination entry.

The DestID can be used with the GetDestPage, GetDestType and GetDestValue functions.

Syntax

Delphi

function TPDFlib.GetActionDest(ActionID: Integer): Integer;

ActiveX

Function PDFlib::GetActionDest(ActionID As Long) As Long

DLL

int DLGetActionDest(int InstanceID, int ActionID);

Parameters

ActionIDAn ActionID as returned by the GetAnnotActionID, GetOutlineActionID or GetFormFieldActionID functions

Return values

0The specified action does not have a destination entry A DestID that can be used with the destination functions.
Non-zero