Aspose::Cells::Drawing::ShapeCollection::DeleteShape method. Delete a shape. If the shape is in the group or is a comment shape, it will not be deleted in C++.... AddRectangle ( 2 , 0 , 2 , 0 , 50 , 50 ); //add second...shapes . AddRectangle ( 6 , 0 , 2 , 0 , 30 , 30 ); //del shapes...