GetActionType

Annotations and hotspot links

Description

Returns the action type of the specified action, for example "GoTo" or "GoToR".

Syntax

Delphi

Function TPDFlib.GetActionType(ActionID: Integer): WideString;

ActiveX

Function PDFlib::GetActionType(ActionID As Long) As String

DLL

const wchar_t* DLGetActionType(int InstanceID, int ActionID);
const char* DLGetActionTypeA(int InstanceID, int ActionID);

Parameters

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

Return values

Returns the /S name of the action, such as GoTo or URI, or an empty string when ActionID is invalid or the action dictionary carries no /S entry