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)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXS_Inst::NewVar Method}}
 
{{#customTitle:IPXS_Inst::NewVar Method}}
 +
{{#parentPage:PXV:IPXS_Inst#Methods|NewVar|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT NewVar([in] VARIANT** pData, [in, defaultvalue(NULL)] IPXS_Document* pDoc, [in, defaultvalue(0)] VARIANT_BOOL bIndirect, [out, retval] IPXS_PDFVariant** pVar);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT NewVar([in]                     VARIANT*           Data,
 +
              [in, defaultvalue(NULL)] IPXS_Document*     pDoc,
 +
              [in, defaultvalue(0)]     VARIANT_BOOL       bIndirect,
 +
              [out, retval]             IPXS_PDFVariant** pVar);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pData''
+
;Data
:[in]  Pointer to VARIANT*.
+
:[in]  Pointer to VARIANT.
;''pDoc''
+
;pDoc
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
;''bIndirect''
+
;bIndirect
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;''pVar''
+
;pVar
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]].
  
Line 21: Line 28:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXS_Inst|IPXS_Inst]].
+
[[PXV:IPXS_Inst|IPXS_Inst]]

Latest revision as of 02:41, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT NewVar([in]                      VARIANT*           Data,
               [in, defaultvalue(NULL)]  IPXS_Document*     pDoc,
               [in, defaultvalue(0)]     VARIANT_BOOL       bIndirect,
               [out, retval]             IPXS_PDFVariant**  pVar);

Parameters

Data
[in] Pointer to VARIANT.
pDoc
[in, defaultvalue(NULL)] Pointer to IPXS_Document.
bIndirect
[in, defaultvalue(0)] Value of VARIANT_BOOL.
pVar
[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