IPXC_ActionHandler::RestoreAction 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::RestoreAction Method}}
 
{{#customTitle:IPXC_ActionHandler::RestoreAction Method}}
{{#parentPage:PXV:IPXC_ActionHandler|method}}
+
{{#parentPage:PXV:IPXC_ActionHandler|RestoreAction Method|method}}
 
{{ToReview}}
 
{{ToReview}}
  
Line 7: Line 7:
  
 
== 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''
+
;pStorage
 
:[in]  Pointer to [[PXV:IPXS_Document|IPXS_Document]] containing the source document.
 
:[in]  Pointer to [[PXV:IPXS_Document|IPXS_Document]] containing the source document.
;''pVar''
+
;pVar
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant of the action.
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant of the action.
;''pDestDoc''
+
;pDestDoc
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the designated document.
 
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the designated document.
;''ppAction''
+
;ppAction
 
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the restored action.
 
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the restored action.
  

Revision as of 04:54, 23 April 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 IPXS_Document containing the source document.
pVar
[in] Pointer to IPXS_PDFVariant containing the source variant of the action.
pDestDoc
[in] Pointer to IPXC_Document containing the designated document.
ppAction
[out, retval] Pointer to IPXC_Action containing the restored action.

Return Value

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

See Also

See also IPXC_ActionHandler.