Click or drag to resize

LengthConvertFrom Method

Converts the value in the specified sourceUnit to a new Length in meters.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static Length ConvertFrom(
	double value,
	LengthUnit sourceUnit
)
View Source

Parameters

value  Double
Source value.
sourceUnit  LengthUnit
Source value units.

Return Value

Length
New Length from the specified value in sourceUnit.
See Also