Click or drag to resize

GUIConversionGetLengthMeasureText(Double, LengthUnit) Method

Converts a value (unit: points) in a given unit and returns it as text together with the unit.

Namespace: Altaxo.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string GetLengthMeasureText(
	double value,
	LengthUnit lastUnit
)

Parameters

value  Double
Value of length in points.
lastUnit  LengthUnit
The unit to convert to.

Return Value

String
A text string: the value together with the unit.
See Also