function DeleteLayerByName(ALayerName: string): Boolean;



Description:


Delete Layer by the layer's name , if  ALayerName not matched , it  returns false.

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


See also:


DeleteLayerByID