Items

Declaration: TSpecCollection.Items[idx: integer]: TSpCollItem;
The array property Items allows to access the individual items of the spectral collection. The parameter idx is the index of the referenced item in the collection (valid range: 0...NSpectra-1). Please note that the index might change when adding or deleting spectra. Thus it is necessary that you always use the unique ItemId to address a particular entry in the collection (use the function IndexOfSpec to find for a given ItemId the corresponding index).

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