SelectShapeByCode

Top  Previous  Next

public Boolean SelectShapeByCode(Int64 aShapeId,Boolean removePrevSelectedShape)

 

Description:

 Select all shapes.

 

Parameter:

 aShapeId: the shape id that you want to select

 removePreSelectedShape: Weather remove the working previous shape or not

 

Return value:

 true: Select successfully

 false: Select unsuccessfully

 

Example:

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

 {

         myCAD1.SelectShapeByCode(1,false);

 }