IPXV_Inst::ExecuteJSEx Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT ExecuteJSEx([in]                               IPXC_Document*             pCoreDoc,
                    [in]                               LPWSTR                     sScript,
                    [in]                               PXV_ActionTriggerClass     nClass,
                    [in]                               PXV_ActionTriggerSubclass  nSubclass,
                    [in]                               IUnknown*                  pActionData,
                    [out, retval, defaultvalue(NULL)]  IPXV_JSValue**             pResult);

Parameters

pCoreDoc
[in] Pointer to IPXC_Document.
sScript
[in] Value of LPWSTR.
nClass
[in] Value of PXV_ActionTriggerClass.
nSubclass
[in] Value of PXV_ActionTriggerSubclass.
pActionData
[in] Pointer to IUnknown*.
pResult
[out, retval, defaultvalue(NULL)] Pointer to IPXV_JSValue.

Return Value

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

See Also

IPXV_Inst