IPXC_ActionsList::AddJavaScript Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 2: Line 2:
 
{{#customTitle:IPXC_ActionsList::AddJavaScript Method}}
 
{{#customTitle:IPXC_ActionsList::AddJavaScript Method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Adds new JavaScript action to the actions list.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 00:29, 16 April 2015

Adds new JavaScript action to the actions list.

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.