SetActionURLA
Annotations and hotspot links
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetActionURL and string arguments are interpreted using the current SetAnsiMode code page
Sets the target URL of the specified action
Syntax
Delphi
Function DLSetActionURLA(InstanceID, ActionID: Integer; NewURL: PAnsiChar): Integer;
DLL
int DLSetActionURLA(int InstanceID, int ActionID, const char * NewURL);
Parameters
| ActionID | An ActionID as returned by the GetAnnotActionID, GetOutlineActionID or GetFormFieldActionID functions |
|---|---|
| NewURL | The new URL target |
Return values
| 0 | The specified ActionID was not valid |
|---|---|
| 1 | The action's target URL was set successfully |