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.266-beta+c6b78f50c57a6e00a35ffa6b1d344e516617d5cd
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