IPXV_Inst::Str2Number Method

From PDF XChange PDF SDK
Jump to: navigation, search


Converts the string into number.

Syntax

HRESULT Str2Number([in]                    BSTR           sStr,
                   [in, defaultvalue(-1)]  VARIANT_BOOL   bSigned,
                   [out, defaultvalue(0)]  VARIANT_BOOL*  bOK,
                   [out, retval]           double*        nRes);

Parameters

sStr
[in] The string to be converted in number.
bSigned
[in, defaultvalue(-1)] The flag to take into account the minus symbol from input string.
bOK
[out, defaultvalue(0)] Returns the true if converting was successful.
nRes
[out, retval] Returns the result of converting.

Return Value

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

See Also

IPXV_Inst