RemoveRepositoryImg

Declaration: Frm2DImg.RemoveRepositoryImg (ImgHandle: integer): integer;
Removes the special image having the index ImgHandle from the image repository. The parameter ImgHandle can assume any value between 1 and 16. Setting ImgHandle to zero removes all special images which are currently open. The function returns the following error codes:
 0 ... everything OK
-1 ... the specified repository image does not exist