IPXV_Inst::FormatMeasureValue 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 FormatMeasureValue([in] double nValueInPoints, [in] MeasureUnit nDestUnit, [in, optional] LONG nFmtFlags, [out, retval] BSTR* ppRes);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT FormatMeasureValue([in] double nValueInPoints, [in] MeasureUnit nDestUnit, [in, defaultvalue(0)] LONG nFmtFlags, [out, retval] BSTR* ppRes);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Value of [[PXV:MeasureUnit|MeasureUnit]].
 
:[in]  Value of [[PXV:MeasureUnit|MeasureUnit]].
 
;''nFmtFlags''
 
;''nFmtFlags''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''ppRes''
 
;''ppRes''
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.

Revision as of 01:26, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT FormatMeasureValue([in] double nValueInPoints, [in] MeasureUnit nDestUnit, [in, defaultvalue(0)] LONG nFmtFlags, [out, retval] BSTR* ppRes);

Parameters

nValueInPoints
[in] Value of double.
nDestUnit
[in] Value of MeasureUnit.
nFmtFlags
[in, defaultvalue(0)] Value of LONG.
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.