DeleteMarkedItems

Declaration: TSpecCollection.DeleteMarkedItems: integer;
The method DeleteMarkedItems deletes all collection items marked for deletion and returns the number of remaining items. In order to mark an entry for deletion use the method MarkForDeletion.

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