Click or drag to resize

OmnicSPAImporterImport(IReadOnlyListString, DataTable, Object, Boolean) Method

Imports a couple of Omnic SPA files into a table. The spectra are added as columns to the (one and only) table. If the x column of the rightmost column does not match the x-data of the spectra, a new x-column is also created.

Namespace: Altaxo.Serialization.Omnic
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public override string? Import(
	IReadOnlyList<string> fileNames,
	DataTable table,
	Object importOptions,
	bool attachDataSource = true
)

Parameters

fileNames  IReadOnlyListString
An array of filenames to import.
table  DataTable
The table the spectra should be imported to.
importOptions  Object
The import options object.
attachDataSource  Boolean  (Optional)
Whether to attach a data source to the imported table.

Return Value

String
Null if no error occurs, or an error description.

Implements

IDataFileImporterImport(IReadOnlyListString, DataTable, Object, Boolean)
See Also