IPXS_Inst::NewVar Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT NewVar([in]                      VARIANT*          Data,
 
<pre class="brush:cpp;gutter:false">HRESULT NewVar([in]                      VARIANT*          Data,
               [in, defaultvalue(NULL)]  IPXS_Document*    pDoc,
+
               [in, defaultvalue(NULL)]  IPXS_Document*    Doc,
               [in, defaultvalue(0)]    VARIANT_BOOL      bIndirect,
+
               [in, defaultvalue(0)]    VARIANT_BOOL      Indirect,
               [out, retval]            IPXS_PDFVariant**  pVar);</pre>
+
               [out, retval]            IPXS_PDFVariant**  Var);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;Data
 
;Data
 
:[in]  Pointer to VARIANT.
 
:[in]  Pointer to VARIANT.
;pDoc
+
;Doc
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
;bIndirect
+
;Indirect
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;pVar
+
;Var
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
  

Revision as of 06:17, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT NewVar([in]                      VARIANT*           Data,
               [in, defaultvalue(NULL)]  IPXS_Document*     Doc,
               [in, defaultvalue(0)]     VARIANT_BOOL       Indirect,
               [out, retval]             IPXS_PDFVariant**  Var);

Parameters

Data
[in] Pointer to VARIANT.
Doc
[in, defaultvalue(NULL)] Pointer to IPXS_Document.
Indirect
[in, defaultvalue(0)] Value of VARIANT_BOOL.
Var
[out, retval] Pointer to IPXS_PDFVariant.

Return Value

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

See Also

IPXS_Inst