function DeleteLayerByID(ALayerID: integer): Boolean;




Description:


Delete Layer by the layer's Id , if  ALayerId not matched , it  returns false.

This function will delete shape(s) which belonged this layer.


See also:


DeleteLayerByName