Click or drag to resize

UnitsGetUnits Method (UnitType, UnitSystem)

Gets all the units corresponding to a specified unit type and system.

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static IList<UnitDescriptor> GetUnits(
	UnitType unitType,
	UnitSystem unitSystem
)

Parameters

unitType
Type: Demo3D.UtilitiesUnitType
The UnitType to retrieve units for.
unitSystem
Type: Demo3D.UtilitiesUnitSystem
The UnitSystem to retrieve units for.

Return Value

Type: IListUnitDescriptor
A list of UnitDescriptor instances representing the units corresponding to the specified unit type and system.
See Also