IPXV_Inst::Str2Number 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 Str2Number([in] BSTR pStr, [in, optional] VARIANT_BOOL bSigned, [out, optional] VARIANT_BOOL* pOk, [out, retval] double* pRes);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Str2Number([in] BSTR pStr, [in, defaultvalue(-1)] VARIANT_BOOL bSigned, [out, defaultvalue(0)] VARIANT_BOOL* pOk, [out, retval] double* pRes);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;''bSigned''
 
;''bSigned''
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(-1)]  Value of VARIANT_BOOL.
 
;''pOk''
 
;''pOk''
:[out, optional]  Pointer to VARIANT_BOOL.
+
:[out, defaultvalue(0)]  Pointer to VARIANT_BOOL.
 
;''pRes''
 
;''pRes''
 
:[out, retval]  Pointer to double.
 
:[out, retval]  Pointer to double.

Revision as of 01:37, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Str2Number([in] BSTR pStr, [in, defaultvalue(-1)] VARIANT_BOOL bSigned, [out, defaultvalue(0)] VARIANT_BOOL* pOk, [out, retval] double* pRes);

Parameters

pStr
[in] Value of BSTR.
bSigned
[in, defaultvalue(-1)] Value of VARIANT_BOOL.
pOk
[out, defaultvalue(0)] Pointer to VARIANT_BOOL.
pRes
[out, retval] Pointer to double.

Return Value

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

See Also

See also IPXV_Inst.