Occurs after a drawing object has been inserted into a worksheet.
public event ShapeChangedEventHandler ShapeInserted
Public Event ShapeInserted As ShapeChangedEventHandler
The ShapeInserted event's data class is ShapeChangedEventArgs. The following properties provide information specific to this event:
|ShapeId||Gets the ID value of the drawing object that has been inserted or removed.|
|ShapeName||Gets the name of the drawing object that has been inserted or removed.|
|ShapeType||Gets the type of the drawing object that has been inserted or removed.|
Handle the ShapeInserted event to perform specific actions each time an end-user inserts a drawing object into a worksheet via the SpreadsheetControl's UI. To obtain the type of the inserted drawing object, use the ShapeType parameter.
After a drawing object has been deleted from a worksheet, the SpreadsheetControl.ShapeRemoved event is raised.