GetRootParentShape

<< Click to Display Table of Contents >>

Navigation:  MyCAD > Methods >

GetRootParentShape

public MyShape GetRootParentShape(MyShape aShape)

 

Description:

 Get the root parent shape.

 

Parameter:

 aShape: The shape

 

Return value:

 retrun the root parent shape

 

Example:

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

 {

         MyShape rootShape = myCAD1.GetRootParentShape(myCAD1.GetSelectedShape());

 }