IPXC_ActionHandler::RestoreAction Method

From PDF XChange PDF SDK
Jump to: navigation, search

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.

See Also

IPXC_ActionHandler