GetShapesCountInALayer

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

GetShapesCountInALayer

public Int64 GetShapesCountInALayer(Int32 layerId)

 

Description:

 Get the shapes count in a layer.

 

Parameter:

 layerId: Layer id

 

Return value:

 return the shapes count in a layer.

 

Example:

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

 {

         Int32 count = myCAD1.GetShapesCountInALayer(0);

 }