IPXC_ActionHandler::RestoreAction Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_ActionHandler::RestoreAction Method}} | {{#customTitle:IPXC_ActionHandler::RestoreAction Method}} | ||
− | {{#parentPage:PXV:IPXC_ActionHandler|method | + | {{#parentPage:PXV:IPXC_ActionHandler#Methods|RestoreAction|method}} |
− | + | ||
Gets action from the PDF structure. | Gets action from the PDF structure. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT RestoreAction([in] IPXS_Document* pStorage, [in] IPXS_PDFVariant* pVar, [in] IPXC_Document* pDestDoc, [out, retval] IPXC_Action** ppAction);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT RestoreAction([in] IPXS_Document* pStorage, |
+ | [in] IPXS_PDFVariant* pVar, | ||
+ | [in] IPXC_Document* pDestDoc, | ||
+ | [out, retval] IPXC_Action** ppAction);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pStorage |
− | :[in] Pointer to [[PXV:IPXS_Document|IPXS_Document]] containing the source document. | + | :[in] Pointer to a [[PXV:IPXS_Document|IPXS_Document]] containing the source document. |
− | ; | + | ;pVar |
− | :[in] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant of the action. | + | :[in] Pointer to a [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant of the action. |
− | ; | + | ;pDestDoc |
− | :[in] Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the designated document. | + | :[in] Pointer to a [[PXV:IPXC_Document|IPXC_Document]] containing the designated document. |
− | ; | + | ;ppAction |
− | :[out, retval] Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the restored action. | + | :[out, retval] Pointer to a [[PXV:IPXC_Action|IPXC_Action]] containing the restored action. |
== 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
Gets action from the PDF structure.
Syntax
HRESULT RestoreAction([in] IPXS_Document* pStorage, [in] IPXS_PDFVariant* pVar, [in] IPXC_Document* pDestDoc, [out, retval] IPXC_Action** ppAction);
Parameters
- pStorage
- [in] Pointer to a IPXS_Document containing the source document.
- pVar
- [in] Pointer to a IPXS_PDFVariant containing the source variant of the action.
- pDestDoc
- [in] Pointer to a IPXC_Document containing the designated document.
- ppAction
- [out, retval] Pointer to a IPXC_Action containing the restored action.
Return Value
Returns S_OK if operation was successful or an error code in other cases.