SetActionURL
Annotations and hotspot links
Description
Sets the target URL of the specified action.
Syntax
Delphi
function TPDFlib.SetActionURL(ActionID: Integer; Const NewURL: WideString): Integer;ActiveX
Function PDFlib::SetActionURL(ActionID As Long, NewURL As String) As LongDLL
int DLSetActionURL(int InstanceID, int ActionID, wchar_t * 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 |