Import Class |
public class Import
The Import type exposes the following members.
Name | Description | |
---|---|---|
Import(TextReader) | Imports a Jcamp file into an DataTable. The file must not be a multi spectrum file (an exception is thrown in this case). | |
Import(Stream, DataTable) | Imports a Jcamp file. The file must not be a multi spectrum file (an exception is thrown in this case). |
Name | Description | |
---|---|---|
CreationTime | 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. | |
ErrorMessages | Messages about any errors during the import of the Jcamp file. | |
XFirst | ||
XIncrement | ||
XLabel | The label of the x-axis. | |
XScale | ||
XUnit | The unit of the x-axis. | |
YLabel | The label of the y-axis. | |
YScale | ||
YUnit | The unit of the y-axis. |
Name | Description | |
---|---|---|
DoubleParse | ||
DoubleTryParse | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HandleDateLine | Handles the date line (a line that has started with ##DATE= | |
ImportJcampFiles | 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. | |
IsDateReasonable | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ParseDate | ||
ParseTime | ||
ShowDialog | Shows the SPC file import dialog, and imports the files to the table if the user clicked on "OK". | |
SplitLineByPlusOrMinus | ||
ToDataTable | Imports the data of this Import instance into a DataTable. | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
ValuesMatch | Compare the values in a double array with values in a double column and see if they match. |