IPXV_Inst::ExecuteJS Method
From PDF XChange PDF SDK
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.