IPXC_ActionHandler::CreateActionFromVariant Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_ActionHandler::CreateActionFromVariant Method}}
 
{{#customTitle:IPXC_ActionHandler::CreateActionFromVariant Method}}
{{#parentPage:PXV:IPXC_ActionHandler|method}}
+
{{#parentPage:PXV:IPXC_ActionHandler#Methods|CreateActionFromVariant|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
 
Creates new action from [[PXV:IPXS_PDFVariant|variant]].
 
Creates new action from [[PXV:IPXS_PDFVariant|variant]].
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateActionFromVariant([in] IPXC_Document* pDoc, [in] IPXS_PDFVariant* pVar, [out, retval] IPXC_Action** ppAction);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateActionFromVariant([in]           IPXC_Document*   pDoc,
 +
                                [in]           IPXS_PDFVariant* pVar,
 +
                                [out, retval] IPXC_Action**     ppAction);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pDoc''
+
;pDoc
:[in]  Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the source document for the action.
+
:[in]  Pointer to a [[PXV:IPXC_Document|IPXC_Document]] containing the source document for the action.
;''pVar''
+
;pVar
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant.
+
:[in]  Pointer to a [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the source variant.
;''ppAction''
+
;ppAction
:[out, retval]  Pointer to [[PXV:IPXC_Action|IPXC_Action]] containing the newly created action.
+
:[out, retval]  Pointer to a [[PXV:IPXC_Action|IPXC_Action]] containing the newly created 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 ==
See also [[PXV:IPXC_ActionHandler|IPXC_ActionHandler]].
+
[[PXV:IPXC_ActionHandler|IPXC_ActionHandler]]

Latest revision as of 07:02, 23 May 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 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