Click or drag to resize

Import Class

Reader for Jcamp-Dx files.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.JcampImport

Namespace: Altaxo.Serialization.Jcamp
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class Import

The Import type exposes the following members.

Constructors
 NameDescription
Public methodImport(TextReader) Imports a Jcamp file into an DataTable. The file must not be a multi spectrum file (an exception is thrown in this case).
Public methodImport(Stream, DataTable) Imports a Jcamp file. The file must not be a multi spectrum file (an exception is thrown in this case).
Top
Properties
 NameDescription
Public propertyCreationTime Creation date/time of the Jcamp file. Be aware that due to different date/time formats, the creation time may be wrong. If the creation time could not be parsed, the value is MinValue.
Public propertyErrorMessages Messages about any errors during the import of the Jcamp file.
Public propertyXFirst 
Public propertyXIncrement 
Public propertyXLabelThe label of the x-axis.
Public propertyXScale 
Public propertyXUnitThe unit of the x-axis.
Public propertyYLabelThe label of the y-axis.
Public propertyYScale 
Public propertyYUnitThe unit of the y-axis.
Top
Methods
 NameDescription
Public methodStatic memberDoubleParse 
Public methodStatic memberDoubleTryParse 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHandleDateLine Handles the date line (a line that has started with ##DATE=
Public methodStatic memberImportJcampFiles 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.
Public methodStatic memberIsDateReasonable 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberParseDate 
Public methodStatic memberParseTime 
Public methodStatic memberShowDialog Shows the SPC file import dialog, and imports the files to the table if the user clicked on "OK".
Public methodStatic memberSplitLineByPlusOrMinus 
Public methodToDataTable Imports the data of this Import instance into a DataTable.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodStatic memberValuesMatch Compare the values in a double array with values in a double column and see if they match.
Top
Fields
 NameDescription
Protected field_xFirst 
Protected field_xInc 
Protected field_xScale 
Protected field_yScale 
Top
See Also