ClearAnnotations

Declaration: Frm2DImg.ClearAnnotations (ImgHandle: integer): integer;
Removes all annotations of the image specified by the parameter ImgHandle. The image handle is an integer between 0 and 16. The handle 0 refers to the main image of the 2D Imager, the handles 1 to 16 to the images of the image repository (if available).

The function returns the following error codes:

 0 ... everything is OK
-1 ... invalid ImgHandle


Last Update: 2020-Mar-04