IPXC_ActionHandler::CreateActionFromVariant Method

From PDF XChange PDF SDK
Jump to: navigation, search

Creates new action from variant.

Syntax

HRESULT CreateActionFromVariant([in]           IPXC_Document*    pDoc,
                                [in]           IPXS_PDFVariant*  pVar,
                                [out, retval]  IPXC_Action**     ppAction);

Parameters

pDoc
[in] Pointer to a IPXC_Document containing the source document for the action.
pVar
[in] Pointer to a IPXS_PDFVariant containing the source variant.
ppAction
[out, retval] Pointer to a IPXC_Action containing the newly created action.

Return Value

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

See Also

IPXC_ActionHandler