GetActionURL

Annotations and hotspot links

Description

Returns the target URL of the specified action.

Syntax

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetActionURL(int InstanceID, int ActionID);
const char* DLGetActionURLA(int InstanceID, int ActionID);

Parameters

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

Return values

Returns the URL stored in the action's /F file specification, or an empty string when ActionID is invalid or the action carries no such entry