IPXC_ActionHandler::CopyAction Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(9 intermediate revisions by 3 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#Methods|CopyAction|method}} | ||
− | 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, | + | <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 |
− | :[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 |
− | :[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 |
− | :[in, | + | :[in, defaultvalue(NULL)] Pointer to a [[PXV:IPXC_RemapCallback|IPXC_RemapCallback]] containing the callback for page remapping. |
− | ; | + | ;ppCopy |
− | :[out, retval] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing | + | :[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 == | ||
− | + | [[PXV:IPXC_ActionHandler|IPXC_ActionHandler]] |
Latest revision as of 07: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.