LayerAPI.undoAnnotation

 

long undoAnnotation()

This method removes annotation from the layer, if the layer has been previously annotated by the client via doAnnotation or by the data profile.  If the layer has not been annotated, this method does nothing.

This method returns zero upon success, and returns an error code if the layer is not a database layer.