Click or drag to resize

GUIConversionGetLengthMeasureValue(String, Double) Method

Get a length value from a text string.

Namespace: Altaxo.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool GetLengthMeasureValue(
	string txt,
	ref double value
)

Parameters

txt  String
Text string. Consists of a number and optionally a unit.
value  Double
On return, gives the actual length (unit:points).

Return Value

Boolean
True if the conversion was successful, false otherwise. The last used length unit is updated by this function.
See Also