Click or drag to resize

DataTableToMatrixConverterTryGetRowOrColumnSpacing Method

Tries to get the uniform spacing value of a vector.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool TryGetRowOrColumnSpacing(
	IReadOnlyList<double> headerVector,
	string rowOrColumn,
	out double spacingValue,
	out string?? errorMessage
)

Parameters

headerVector  IReadOnlyListDouble
The vector to investigate.
rowOrColumn  String
Contains either "row" or "column" to include in the diagnostic error message.
spacingValue  Double
If the function is successful, contains the uniform spacing value.
errorMessage  String
If the function is not successful, contains a diagnostic error message.

Return Value

Boolean
True if the function was successful, otherwise False.
See Also