procedure  DeleteAllLayers(): Boolean;


Description:


Delete  all  layers and delete all shapes, CurrentLayerId is -1.


Return value:

true: the all layers was delected

 false: deleted failed


See Also


DeleteAllShapes