Create

Declaration: TSpecCollection.Create (AOwner: TComponent);
The method Create creates an instance of the TSpecCollection class and initializes its data. Please note that Create must be called before any other access to the spectral collection. The parameter AOwner is the owner component. You should set it to nil if the class is used as a non-visual component (which is normally the case).

Hint 1: Please note that the spectral collection always must contain a valid spectral calibration. Thus it is highly recommended to call InitCalib immediately after creating a new spectral collection.

Hint 2: In order to access the spectral collection currently loaded in the Spectral Collection Editor you can use the pre-declared global variable SCData.