DeleteILabFile

Declaration: DeleteILabFile(FName: string; PhotosToo: boolean): integer;
Deletes the specified Epina ImageLab dataset. The parameter FName has to be the full path of the dataset. This dataset consists of several files, specifically files with the extensions .ilab, .cube and .imsk (see Data Files). Associated photo files are only deleted if the PhotosToo parameter is TRUE (be careful when using this option as the deleted photos may belong to other datasets as well). The function returns the following decimal encoded error codes (each decimal place indicates one of 6 errors:
 0 ... everything is OK
-1 ... the .ilab file does not exist
-10 ... the .cube file does not exist
-100 ... the .imsk file does not exist
-1000 ... one of the photo files does not exist
-10000 ... the .pcmp file does not exist
-100000 ... the .anno file does not exist