IPXV_Inst::FormatMeasureValue 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::FormatMeasureValue Method}}
 
{{#customTitle:IPXV_Inst::FormatMeasureValue Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst|FormatMeasureValue Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT FormatMeasureValue([in] double nValueInPoints, [in] MeasureUnit nDestUnit, [in, defaultvalue(0)] 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 ==
;''nValueInPoints''
+
;nValueInPoints
 
:[in]  Value of double.
 
:[in]  Value of double.
;''nDestUnit''
+
;nDestUnit
 
:[in]  Value of [[PXV:MeasureUnit|MeasureUnit]].
 
:[in]  Value of [[PXV:MeasureUnit|MeasureUnit]].
;''nFmtFlags''
+
;nFmtFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''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 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.