IPXC_ActionsList::AddJavaScript Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 9: Line 9:
 
== Parameters ==
 
== Parameters ==
 
;''sScript''
 
;''sScript''
:[in]  Value of BSTR.
+
:[in]  Value of BSTR containing the JavaScript script.
 
;''ppAction''
 
;''ppAction''
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]].
+
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the newly created action.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 00:27, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddJavaScript([in] BSTR sScript, [out, retval] IPXC_Action** ppAction);

Parameters

sScript
[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 operation was successful or error code in other cases.

See Also

See also IPXC_ActionsList.