NewLayer

Top  Previous  Next

public Int32 NewLayer(String lName,Boolean lVisible)

 

Description:

 Create a new layer.

 

Parameter:

  The layer name

 lVisible: The layer visible or not

 

Return value:

 Return the layer id

 

Example:

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

 {

         myCAD1.NewLayer("Layer" + Convert.ToString(myCAD1.GetMaxLayerId()+1),true);

 }