Click or drag to resize

SpectralPreprocessingOptionsDocNodeBaseUpdateElementIReferencingXYColumns Method

Updates a ISingleSpectrumPreprocessor element that references x-y-columns, for instance SpectrumSubtraction, with the information in the proxy that references the x-y columns. Both the x-y values in the processor element are updates, as well as the information about the names of the x and y columns.

Namespace: Altaxo.Science.Spectroscopy
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static ISingleSpectrumPreprocessor UpdateElementIReferencingXYColumns(
	IReferencingXYColumns element,
	IDocumentLeafNode proxyNode
)

Parameters

element  IReferencingXYColumns
The ISingleSpectrumPreprocessor node that references an x-y curve.
proxyNode  IDocumentLeafNode
The proxy node that stores the data of the x and y columns.

Return Value

ISingleSpectrumPreprocessor
A new instance with data updated. In case that fails, the old instance is returned.
Exceptions
ExceptionCondition
ArgumentException(String)Expected: {typeof(DataTableXYColumnProxy)}, but it is: {proxyNode.GetType()}
See Also