UngroupShape

Top  Previous  Next

public void UngroupShape(MyShape tmpShape,Boolean needSaved)

 

Description:

 

 

Parameter:

 tmpShape: The grouped shape

 needSave: Weather save step to undo list

 

Example:

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

 {

 

         if (myCAD1.GetSelectedShapesCount() == 1)

         {

                 myCAD1.UngroupShape(myCAD1.GetSelectedShape(),true);

         }

         else

         {

                 MessageBox.Show("No shape selected or more shapes selected.");

         }

 }

 

See also:

 GroupWorkingShapes