var instance; // Type: Events instance.ShapeRemoved = function(sheet, sheetName, shape) { };
Parameters
- sheet
- The sheet that triggered the event.
- sheetName
- The sheet's name.
- shape
- The shape has been removed.
var instance; // Type: Events instance.ShapeRemoved = function(sheet, sheetName, shape) { };
//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()); });