IPXV_Inst::FormatMeasureValue Method

From PDF XChange PDF SDK
Revision as of 07:32, 12 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Converts the number value to display-string for the specified unit. The method uses the current UI-localization.

Syntax

HRESULT FormatMeasureValue([in]                   double       ValueInPoints,
                           [in]                   MeasureUnit  DestUnit,
                           [in, defaultvalue(0)]  LONG         FmtFlags,
                           [out, retval]          BSTR*        Res);

Parameters

ValueInPoints
[in] The value in in points(1/72 in).
DestUnit
[in] The value of MeasureUnit.
FmtFlags
[in, defaultvalue(0)] An additional format flag, see PXV_FormatMeasureFlags.
Res
[out, retval] Returns string as result.

Return Value

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

See Also

IPXV_Inst