IPXS_Inst::NewVar_DoubleEx Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT NewVar_DoubleEx([in] double nVal, [in, optional] LONG nPrecision, [in, optional] IPXS_Document* pDoc, [in, optional] VARIANT_BOOL bIndirect, [out, retval] IPXS_PDFVariant** pVar);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT NewVar_DoubleEx([in] double nVal, [in, defaultvalue(-1)] LONG nPrecision, [in, defaultvalue(NULL)] IPXS_Document* pDoc, [in, defaultvalue(0)] VARIANT_BOOL bIndirect, [out, retval] IPXS_PDFVariant** pVar);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Value of double.
 
:[in]  Value of double.
 
;''nPrecision''
 
;''nPrecision''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(-1)]  Value of LONG.
 
;''pDoc''
 
;''pDoc''
:[in, optional]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IPXS_Document|IPXS_Document]].
 
;''bIndirect''
 
;''bIndirect''
:[in, optional]  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]].

Revision as of 23:08, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT NewVar_DoubleEx([in] double nVal, [in, defaultvalue(-1)] LONG nPrecision, [in, defaultvalue(NULL)] IPXS_Document* pDoc, [in, defaultvalue(0)] VARIANT_BOOL bIndirect, [out, retval] IPXS_PDFVariant** pVar);

Parameters

nVal
[in] Value of double.
nPrecision
[in, defaultvalue(-1)] Value of LONG.
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

See also IPXS_Inst.