Click or drag to resize
LengthUnitConverterConvert Method
Converts the specified length from sourceUnit measurement unit to destinationUnit measurement unit.

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1018
Syntax
public static double Convert(
	double length,
	LengthUnit sourceUnit,
	LengthUnit destinationUnit
)

Parameters

length
Type: SystemDouble
The length that will be converted.
sourceUnit
Type: GemBox.SpreadsheetLengthUnit
The source measurement unit.
destinationUnit
Type: GemBox.SpreadsheetLengthUnit
The destination measurement unit.

Return Value

Type: Double
The length expressed in destinationUnit measurement unit.
See Also