IPXC_ActionHandler::CreateActionFromVariant Method

From Tracker Software PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 2: Line 2:
 
{{#customTitle:IPXC_ActionHandler::CreateActionFromVariant Method}}
 
{{#customTitle:IPXC_ActionHandler::CreateActionFromVariant Method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new action from [[PXV:IPXS_PDFVariant|variant]].
  
 
== Syntax ==
 
== Syntax ==
Line 9: Line 9:
 
== Parameters ==
 
== Parameters ==
 
;''pDoc''
 
;''pDoc''
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
+
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the source document for the action.
 
;''pVar''
 
;''pVar''
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
+
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant.
 
;''ppAction''
 
;''ppAction''
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]].
+
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the newly created action.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 07:10, 15 April 2015

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 IPXC_Document containing the source document for the action.
pVar
[in] Pointer to IPXS_PDFVariant containing the source variant.
ppAction
[out, retval] Pointer to IPXC_Action containing the newly created action.

Return Value

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

See Also

See also IPXC_ActionHandler.