[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Delete

Delete Method

Delete()

Deletes the object.

Use this method to remove a shape object from the worksheet drawing layer.

Declaration
void Delete()
Sub Delete()
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.TextFrame.TextRange.Text = "Hello";
shape.Delete();