IPXC_ActionHandler::CopyAction Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_ActionHandler::CopyAction Method}}
 
{{#customTitle:IPXC_ActionHandler::CopyAction Method}}
{{#parentPage:PXV:IPXC_ActionHandler|method}}
+
{{#parentPage:PXV:IPXC_ActionHandler#Methods|CopyAction|method}}
{{ToReview}}
+
  
Copies data from the source into given action.
+
Copies data from the source into a given action.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CopyAction([in] IPXC_Action* pAction, [in] IPXC_Document* pDestDoc, [in, defaultvalue(NULL)] IPXC_RemapCallback* pRemap, [out, retval] IPXS_PDFVariant** ppCopy);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CopyAction([in]                     IPXC_Action*         pAction,
 +
                  [in]                     IPXC_Document*       pDestDoc,
 +
                  [in, defaultvalue(NULL)] IPXC_RemapCallback* pRemap,
 +
                  [out, retval]             IPXS_PDFVariant**   ppCopy);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pAction''
+
;pAction
:[in]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the source action.
+
:[in]  Pointer to a [[PXV:IPXC_Action|IPXC_Action]] containing the source action.
;''pDestDoc''
+
;pDestDoc
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the destination document.
+
:[in]  Pointer to a [[PXV:IPXC_Document|IPXC_Document]] containing the destination document.
;''pRemap''
+
;pRemap
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]] containing the callback for page remaping.
+
:[in, defaultvalue(NULL)]  Pointer to a [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]] containing the callback for page remapping.
;''ppCopy''
+
;ppCopy
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing resulting copy of the action.
+
:[out, retval]  Pointer to a [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the resulting action copy.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if operation was successful or an error code in other cases.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_ActionHandler|IPXC_ActionHandler]].
+
[[PXV:IPXC_ActionHandler|IPXC_ActionHandler]]

Latest revision as of 08:02, 23 May 2015

Copies data from the source into a given action.

Syntax

HRESULT CopyAction([in]                      IPXC_Action*         pAction,
                   [in]                      IPXC_Document*       pDestDoc,
                   [in, defaultvalue(NULL)]  IPXC_RemapCallback*  pRemap,
                   [out, retval]             IPXS_PDFVariant**    ppCopy);

Parameters

pAction
[in] Pointer to a IPXC_Action containing the source action.
pDestDoc
[in] Pointer to a IPXC_Document containing the destination document.
pRemap
[in, defaultvalue(NULL)] Pointer to a IPXC_RemapCallback containing the callback for page remapping.
ppCopy
[out, retval] Pointer to a IPXS_PDFVariant containing the resulting action copy.

Return Value

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

See Also

IPXC_ActionHandler