IPXV_Inst::ExecuteJS Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::ExecuteJS Method}}
 
{{#customTitle:IPXV_Inst::ExecuteJS Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst|ExecuteJS Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ExecuteJS([in] IPXV_Document* pDoc, [in] BSTR sScript, [in] PXV_ActionTriggerClass nClass, [in] PXV_ActionTriggerSubclass nSubclass, [in] IUnknown* pActionData, [out] BSTR* pResult);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ExecuteJS([in] IPXV_Document* pDoc, [in] LPWSTR pScript, [in] PXV_ActionTriggerClass nClass, [in] PXV_ActionTriggerSubclass nSubclass, [in] IUnknown* pActionData, [in, defaultvalue(NULL)] IString* pResult);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pDoc''
+
;pDoc
 
:[in]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
 
:[in]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
;''sScript''
+
;pScript
:[in]  Value of BSTR.
+
:[in]  Value of LPWSTR.
;''nClass''
+
;nClass
 
:[in]  Value of [[PXV:PXV_ActionTriggerClass|PXV_ActionTriggerClass]].
 
:[in]  Value of [[PXV:PXV_ActionTriggerClass|PXV_ActionTriggerClass]].
;''nSubclass''
+
;nSubclass
 
:[in]  Value of [[PXV:PXV_ActionTriggerSubclass|PXV_ActionTriggerSubclass]].
 
:[in]  Value of [[PXV:PXV_ActionTriggerSubclass|PXV_ActionTriggerSubclass]].
;''pActionData''
+
;pActionData
 
:[in]  Pointer to IUnknown*.
 
:[in]  Pointer to IUnknown*.
;''pResult''
+
;pResult
:[out]  Pointer to BSTR.
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 13:21, 22 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT ExecuteJS([in] IPXV_Document* pDoc, [in] LPWSTR pScript, [in] PXV_ActionTriggerClass nClass, [in] PXV_ActionTriggerSubclass nSubclass, [in] IUnknown* pActionData, [in, defaultvalue(NULL)] IString* pResult);

Parameters

pDoc
[in] Pointer to IPXV_Document.
pScript
[in] Value of LPWSTR.
nClass
[in] Value of PXV_ActionTriggerClass.
nSubclass
[in] Value of PXV_ActionTriggerSubclass.
pActionData
[in] Pointer to IUnknown*.
pResult
[in, defaultvalue(NULL)] Pointer to IString.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXV_Inst.