NSpectra

Declaration: TSpecCollection.NSpectra: integer;
The function NSpectra returns the number of spectra in the spectral collection.

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