Click or drag to resize

DataTableMatrixProxyBaseTryGetColumnDataIncrement Method

Tries the get the uniform space between elements of a header column. This will fail if the data of the column are not uniformly spaced. In this case a user friendly error message is returned.

Namespace: Altaxo.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool TryGetColumnDataIncrement(
	IReadableColumnProxy proxy,
	string rowOrCol,
	IAscendingIntegerCollection selectedIndices,
	out double incrementValue,
	out string errorOrWarningMessage
)

Parameters

proxy  IReadableColumnProxy
The proxy of the column to investigate.
rowOrCol  String
Indicates if this column is a row header column (value: "row") or a column header column (value: "column").
selectedIndices  IAscendingIntegerCollection
The indices into the provided column.
incrementValue  Double
If the function is successfull, the value of the spacing between each element is returned.
errorOrWarningMessage  String
If the function is not successfull, a user friendly error or warning message is returned here.

Return Value

Boolean
True if successfull, otherwise false.
See Also