IPXC_ActionsList::AddJavaScript Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IPXC_ActionsList::AddJavaScript Method}} | {{#customTitle:IPXC_ActionsList::AddJavaScript Method}} | ||
{{#parentPage:PXV:IPXC_ActionsList|AddJavaScript Method|method}} | {{#parentPage:PXV:IPXC_ActionsList|AddJavaScript Method|method}} | ||
− | + | ||
Adds new JavaScript action to the actions list. | Adds new JavaScript action to the actions list. | ||
Line 18: | Line 18: | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if operation was successful or error code | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IPXC_ActionsList|IPXC_ActionsList]]. | [[PXV:IPXC_ActionsList|IPXC_ActionsList]]. |
Revision as of 11:56, 20 May 2015
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.