IPXV_Inst::GetMeasureUnitInfo 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::GetMeasureUnitInfo Method}}
 
{{#customTitle:IPXV_Inst::GetMeasureUnitInfo Method}}
{{#parentPage:PXV:IPXV_Inst|method}}
+
{{#parentPage:PXV:IPXV_Inst|GetMeasureUnitInfo Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetMeasureUnitInfo([in] MeasureUnit nUnit, [out] BSTR* ppName, [out] BSTR* ppShortName, [out] double* pPt2UnitCoef, [out] LONG* pDispPrec);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetMeasureUnitInfo([in]   MeasureUnit nUnit,
 +
                          [out] BSTR*       ppName,
 +
                          [out] BSTR*       ppShortName,
 +
                          [out] double*     pPt2UnitCoef,
 +
                          [out] LONG*       pDispPrec);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nUnit''
+
;nUnit
 
:[in]  Value of [[PXV:MeasureUnit|MeasureUnit]].
 
:[in]  Value of [[PXV:MeasureUnit|MeasureUnit]].
;''ppName''
+
;ppName
 
:[out]  Pointer to BSTR.
 
:[out]  Pointer to BSTR.
;''ppShortName''
+
;ppShortName
 
:[out]  Pointer to BSTR.
 
:[out]  Pointer to BSTR.
;''pPt2UnitCoef''
+
;pPt2UnitCoef
 
:[out]  Pointer to double.
 
:[out]  Pointer to double.
;''pDispPrec''
+
;pDispPrec
 
:[out]  Pointer to LONG.
 
:[out]  Pointer to LONG.
  

Revision as of 06:25, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

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] Pointer to BSTR.
ppShortName
[out] Pointer to BSTR.
pPt2UnitCoef
[out] Pointer to double.
pDispPrec
[out] Pointer to LONG.

Return Value

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

See Also

See also IPXV_Inst.