IPXC_ActionHandler::CopyAction Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CopyAction([in] IPXC_Action* pAction, [in] IPXC_Document* pDestDoc, [in, optional] 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 ==
Line 13: Line 13:
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the destination document.
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the destination document.
 
;''pRemap''
 
;''pRemap''
:[in, optional]  Pointer to [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]] containing the callback for page remaping.
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]] containing the callback for page remaping.
 
;''ppCopy''
 
;''ppCopy''
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing resulting copy of the action.
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing resulting copy of the action.

Revision as of 14:01, 16 April 2015

Copies data from the source into 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 IPXC_Action containing the source action.
pDestDoc
[in] Pointer to IPXC_Document containing the destination document.
pRemap
[in, defaultvalue(NULL)] Pointer to IPXC_RemapCallback containing the callback for page remaping.
ppCopy
[out, retval] Pointer to IPXS_PDFVariant containing resulting copy of the action.

Return Value

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

See Also

See also IPXC_ActionHandler.