Click or drag to resize

ChangeableRelativeUnit Constructor

Initializes a new instance of the ChangeableRelativeUnit class.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public ChangeableRelativeUnit(
	string name,
	string shortcut,
	double divider,
	DimensionfulQuantity referenceQuantity
)

Parameters

name  String
The full name of the unit (e.g. 'percent of page with').
shortcut  String
The shortcut of the unit (e.g. %PW).
divider  Double
Used to calculate the relative value from the numeric value of the quantity. In the above example (percent of page width), the divider is 100.
referenceQuantity  DimensionfulQuantity
The reference quantity.
See Also