IPXV_Inst::GetMeasureUnitInfo Method

From PDF XChange PDF SDK
Revision as of 18:26, 24 May 2015 by Pifagor (Talk | contribs)

Jump to: navigation, search


Gets information about specified unit of measurement.

Syntax

HRESULT GetMeasureUnitInfo([in]   MeasureUnit  nUnit,
                           [out]  BSTR*        ppName,
                           [out]  BSTR*        ppShortName,
                           [out]  double*      pPt2UnitCoef,
                           [out]  LONG*        pDispPrec);

Parameters

nUnit
[in] Value of MeasureUnit.
ppName
[out] Returns display-name of unit.
ppShortName
[out] Returns short display-name of unit.
pPt2UnitCoef
[out] Returns translation coefficient from points(1/72 in) to the unit.
pDispPrec
[out] Returns precision(number of digits after decimal point) for displaying values of the unit.

Return Value

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

See Also

IPXV_Inst