IPXV_ActionHandler::Perform Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_ActionHandler::Perform Method}}
 
{{#customTitle:IPXV_ActionHandler::Perform Method}}
 +
{{#parentPage:PXV:IPXV_ActionHandler#Methods|Perform|method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Executes the action.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Perform([in] IPXV_Document* pDoc, [in] IPXC_Action* pAction, [in] IUnknown* pSource, [in] PXV_ActionTriggerClass nClass, [in] PXV_ActionTriggerSubclass nSubclass);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Perform([in] IUnknown*                 pDoc,
 +
                [in] IPXC_Action*               pAction,
 +
                [in] IUnknown*                 pSource,
 +
                [in] PXV_ActionTriggerClass     nClass,
 +
                [in] PXV_ActionTriggerSubclass nSubclass);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pDoc''
+
;pDoc
:[in]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
+
:[in]  Pointer to IUnknown containing the source document.
;''pAction''
+
;pAction
:[in]  Pointer to [[PXV:IPXC_Action|IPXC_Action]].
+
:[in]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the source action.
;''pSource''
+
;pSource
:[in]  Pointer to IUnknown*.
+
:[in]  Pointer to IUnknown containing the additional action data used for some actions.
;''nClass''
+
;nClass
:[in]  Value of [[PXV:PXV_ActionTriggerClass|PXV_ActionTriggerClass]].
+
:[in]  Value of [[PXV:PXV_ActionTriggerClass|PXV_ActionTriggerClass]] containing the action trigger class.
;''nSubclass''
+
;nSubclass
:[in]  Value of [[PXV:PXV_ActionTriggerSubclass|PXV_ActionTriggerSubclass]].
+
:[in]  Value of [[PXV:PXV_ActionTriggerSubclass|PXV_ActionTriggerSubclass]] containing the action trigger subclass.
  
 
== Return Value ==
 
== Return Value ==
Line 23: Line 29:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_ActionHandler|IPXV_ActionHandler]].
+
[[PXV:IPXV_ActionHandler|IPXV_ActionHandler]]

Latest revision as of 04:54, 14 November 2018

Executes the action.

Syntax

HRESULT Perform([in]  IUnknown*                  pDoc,
                [in]  IPXC_Action*               pAction,
                [in]  IUnknown*                  pSource,
                [in]  PXV_ActionTriggerClass     nClass,
                [in]  PXV_ActionTriggerSubclass  nSubclass);

Parameters

pDoc
[in] Pointer to IUnknown containing the source document.
pAction
[in] Pointer to IPXC_Action containing the source action.
pSource
[in] Pointer to IUnknown containing the additional action data used for some actions.
nClass
[in] Value of PXV_ActionTriggerClass containing the action trigger class.
nSubclass
[in] Value of PXV_ActionTriggerSubclass containing the action trigger subclass.

Return Value

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

See Also

IPXV_ActionHandler