IPXC_ActionHandler::CopyAction Method
From PDF XChange PDF SDK
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.