IAUX_Inst::CreateCabFromTemplate Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateCabFromTemplate([in]                     void*  pTemplateXml,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateCabFromTemplate([in]                   void*  pTemplateXml,
                               [in]                     LONG    cbTemplateXml,
+
                               [in]                   LONG    cbTemplateXml,
                               [in, defaultvalue("0")]  BSTR    pRootName,
+
                               [in, defaultvalue("")]  BSTR    pRootName,
                               [out, retval]           ICab**  ppCab);</pre>
+
                               [out, retval]           ICab**  ppCab);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 19: Line 19:
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
 
;pRootName
 
;pRootName
:[in, defaultvalue("0")]  Value of BSTR.
+
:[in, defaultvalue("")]  Value of BSTR.
 
;ppCab
 
;ppCab
 
:[out, retval]  Pointer to [[PXV:ICab|ICab]].
 
:[out, retval]  Pointer to [[PXV:ICab|ICab]].

Revision as of 23:09, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateCabFromTemplate([in]                    void*   pTemplateXml,
                              [in]                    LONG    cbTemplateXml,
                              [in, defaultvalue("")]  BSTR    pRootName,
                              [out, retval]           ICab**  ppCab);

Parameters

pTemplateXml
[in] Pointer to void.
cbTemplateXml
[in] Value of LONG.
pRootName
[in, defaultvalue("")] Value of BSTR.
ppCab
[out, retval] Pointer to ICab.

Return Value

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

See Also

See also IAUX_Inst.