DeletePixMask

Declaration: TMetaData.DeletePixMask (ixMask: integer): boolean;
Removes the pixel mask specified by the index ixMask. If the mask has been successfully deleted the function returns TRUE.

Hint: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.