Click or drag to resize

JcampImporterImport(IReadOnlyListString, DataTable, Object, Boolean) Method

Imports a couple of JCAMP 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.Jcamp
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntax
C#
public override string? Import(
	IReadOnlyList<string> filenames,
	DataTable table,
	Object importOptionsObj,
	bool attachDataSource = true
)

Parameters

filenames  IReadOnlyListString
An array of filenames to import.
table  DataTable
The table the spectra should be imported to.
importOptionsObj  Object

[Missing <param name="importOptionsObj"/> documentation for "M:Altaxo.Serialization.Jcamp.JcampImporter.Import(System.Collections.Generic.IReadOnlyList{System.String},Altaxo.Data.DataTable,System.Object,System.Boolean)"]

attachDataSource  Boolean  (Optional)

[Missing <param name="attachDataSource"/> documentation for "M:Altaxo.Serialization.Jcamp.JcampImporter.Import(System.Collections.Generic.IReadOnlyList{System.String},Altaxo.Data.DataTable,System.Object,System.Boolean)"]

Return Value

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

Implements

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