IPXV_Inst::FormatMeasureValue Method
From PDF XChange PDF SDK
Line 5: | Line 5: | ||
{{ToReview}} | {{ToReview}} | ||
− | Converts the number value to display-string for the specified unit. | + | Converts the number value to display-string for the specified unit. The method uses the current UI-localization. |
== Syntax == | == Syntax == |
Revision as of 14:19, 28 May 2015
Converts the number value to display-string for the specified unit. The method uses the current UI-localization.
Syntax
HRESULT FormatMeasureValue([in] double nValueInPoints, [in] MeasureUnit nDestUnit, [in, defaultvalue(0)] LONG nFmtFlags, [out, retval] BSTR* ppRes);
Parameters
- nValueInPoints
- [in] The value in in points(1/72 in).
- nDestUnit
- [in] The value of MeasureUnit.
- nFmtFlags
- [in, defaultvalue(0)] An additional format flag, see PXV_FormatMeasureFlags.
- ppRes
- [out, retval] Returns string as result.
Return Value
Returns S_OK if operation was successful or error code in other cases.