Click or drag to resize

UnitDescriptor Constructor (String, UnitType, String, Double)

Initializes a new instance of the UnitDescriptor class with a multiplier for conversion.

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public UnitDescriptor(
	string name,
	UnitType type,
	string suffix,
	double multiplier
)

Parameters

name
Type: SystemString
The name of the unit.
type
Type: Demo3D.UtilitiesUnitType
The UnitType this unit is used in conjunction with.
suffix
Type: SystemString
The unit's suffix.
multiplier
Type: SystemDouble
The multiplier used to convert from this unit type to the internal units for this unit type.
See Also