IPXV_Inst::GetMeasureUnitInfo Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#customTitle:IPXV_Inst::GetMeasureUnitInfo Method}}
 
{{#customTitle:IPXV_Inst::GetMeasureUnitInfo Method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|GetMeasureUnitInfo|method}}
 
{{#parentPage:PXV:IPXV_Inst#Methods|GetMeasureUnitInfo|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  

Revision as of 18:26, 24 May 2015


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