IPXC_ActionsList::AddJavaScript Method
From PDF XChange PDF SDK
Adds new JavaScript action to the actions list.
Syntax
HRESULT AddJavaScript([in] BSTR pScript, [out, retval] IPXC_Action** ppAction);
Parameters
- pScript
- [in] Value of BSTR containing the JavaScript script.
- ppAction
- [out, retval] Pointer to IPXC_Action containing the newly created action.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.