public Int32 GetLayerIdByNo(Int32 no)

 

Description:

 Get the layer id by layer no.

 

Parameter:

 no: The number that you want to get

 

Return value:

 Return value =-1,get layer id unsuccessfully.

 Return value >=0,get layer id successfully,the value is the layer id.

 

Example:

 private void button1_Click( sender, System.EventArgs e)

 {

         Int32 layerId = myCAD1.GetLayerIdByNo(0);

 }

 

See also:

 GetLayerIdByName