//This example uses the ShapeRemoved event. var shape = activeSheet.shapes.add("myShape", GC.Spread.Sheets.Shapes.AutoShapeType.diamond, 0, 90, 200, 200); activeSheet.bind(GC.Spread.Sheets.Events.ShapeRemoved, function (e, info) { alert(info.shape.name()); });