IPXV_Inst::FormatNumber Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::FormatNumber Method}}
 
{{#customTitle:IPXV_Inst::FormatNumber Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst|FormatNumber Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FormatNumber([in] double nNum, [in, defaultvalue(2)] LONG nDispPrec, [in, defaultvalue(0)] VARIANT_BOOL bKeepZeroTrailers, [in, defaultvalue(0)] VARIANT_BOOL bAllowGrouping, [out, retval] BSTR* ppRes);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT FormatNumber([in]                   double       nNum,
 +
                    [in, defaultvalue(2)] LONG         nDispPrec,
 +
                    [in, defaultvalue(0)] VARIANT_BOOL bKeepZeroTrailers,
 +
                    [in, defaultvalue(0)] VARIANT_BOOL bAllowGrouping,
 +
                    [out, retval]         BSTR*         ppRes);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nNum''
+
;nNum
 
:[in]  Value of double.
 
:[in]  Value of double.
;''nDispPrec''
+
;nDispPrec
 
:[in, defaultvalue(2)]  Value of LONG.
 
:[in, defaultvalue(2)]  Value of LONG.
;''bKeepZeroTrailers''
+
;bKeepZeroTrailers
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;''bAllowGrouping''
+
;bAllowGrouping
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;''ppRes''
+
;ppRes
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  

Revision as of 06:25, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT FormatNumber([in]                   double        nNum,
                     [in, defaultvalue(2)]  LONG          nDispPrec,
                     [in, defaultvalue(0)]  VARIANT_BOOL  bKeepZeroTrailers,
                     [in, defaultvalue(0)]  VARIANT_BOOL  bAllowGrouping,
                     [out, retval]          BSTR*         ppRes);

Parameters

nNum
[in] Value of double.
nDispPrec
[in, defaultvalue(2)] Value of LONG.
bKeepZeroTrailers
[in, defaultvalue(0)] Value of VARIANT_BOOL.
bAllowGrouping
[in, defaultvalue(0)] Value of VARIANT_BOOL.
ppRes
[out, retval] Pointer to BSTR.

Return Value

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

See Also

See also IPXV_Inst.