IPXC_ActionHandler::CopyAction Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_ActionHandler::CopyAction Method}}
 
{{#customTitle:IPXC_ActionHandler::CopyAction Method}}
{{#parentPage:PXV:IPXC_ActionHandler|method}}
+
{{#parentPage:PXV:IPXC_ActionHandler|CopyAction Method|method}}
 
{{ToReview}}
 
{{ToReview}}
  
Line 7: Line 7:
  
 
== 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 [[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 [[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 [[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 04:54, 23 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.