Hi,
I have a requirement to delete a shape from a group of shapes
for example
foreach (var item in group.GetGroupedShapes())
{
if (string.CompareOrdinal(item.Name, shapeToBeDeleted) == 0)
{
//will this work for shapes which are a part of a group and also which are not?
m_worksheet.Shapes.Remove(item);
// the method summary for DeleteShape says that shapes in groups will not be deleted
m_worksheet.Shapes.DeleteShape(item);
}
}
Could you please let me know how to go about this?
Thanks