DeleteAllLayers

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

DeleteAllLayers

public Boolean DeleteAllLayers()

 

Description:

 Delete all layers and all shapes,the CurrentLayerId as -1.

 

Return value:

 true: Delete successfully

 false: Delete unsuccessfully

 

Example:

 private void button1_Click(object sender, System.EventArgs e)

 {

         myCAD1.DeleteAllLayers();

 }