<< Click to Display Table of Contents >> DeleteShapeById |
public void DeleteShapeById(Int64 aShapeId,Boolean NeedSaved)
Description:
Delete a shape by shape's id.
Parameter:
aShapeId: The shape id that you want to delete
NeedSaved: Weather save this operation to undo list
Return value:
true: Delete successfully
false: Delete unsuccessfully
Example:
private void btnDelete_Click(object sender, System.EventArgs e)
{
myCAD1.DeleteShapeById(0);
}