GetLayerNameById

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

GetLayerNameById

public String GetLayerNameById(Int32 layerId)

 

Description:

 Get the layer name by layer id.

 

Parameter:

 layerId: The layer id

 

Return value:

 Return value ="",get layer name unsuccessfully.

 

Example:

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

 {

         String layerName = myCAD1.GetLayerNameById(0);

 }