IPXV_Inst::ExecuteJS Method
From PDF XChange PDF SDK
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] | + | <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 |
:[in] Pointer to [[PXV:IPXV_Document|IPXV_Document]]. | :[in] Pointer to [[PXV:IPXV_Document|IPXV_Document]]. | ||
− | ; | + | ;pScript |
− | :[in] Value of | + | :[in] Value of LPWSTR. |
− | ; | + | ;nClass |
:[in] Value of [[PXV:PXV_ActionTriggerClass|PXV_ActionTriggerClass]]. | :[in] Value of [[PXV:PXV_ActionTriggerClass|PXV_ActionTriggerClass]]. | ||
− | ; | + | ;nSubclass |
:[in] Value of [[PXV:PXV_ActionTriggerSubclass|PXV_ActionTriggerSubclass]]. | :[in] Value of [[PXV:PXV_ActionTriggerSubclass|PXV_ActionTriggerSubclass]]. | ||
− | ; | + | ;pActionData |
:[in] Pointer to IUnknown*. | :[in] Pointer to IUnknown*. | ||
− | ; | + | ;pResult |
− | :[ | + | :[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.
Contents
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.