Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 11.6.0.0 (11.6.0.5020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public double ConvertUnits(
	double value,
	MeasureUnits from,
	MeasureUnits to
)
Public Function ConvertUnits ( 
	value As Double,
	from As MeasureUnits,
	to As MeasureUnits
) As Double
public:
double ConvertUnits(
	double value, 
	MeasureUnits from, 
	MeasureUnits to
)
member ConvertUnits : 
        value : float * 
        from : MeasureUnits * 
        to : MeasureUnits -> float 

Parameters

value
Double
from
MeasureUnits
to
MeasureUnits

Return Value

Double

See Also