[]
Returns the IShape object that represents the common parent shape of a child shape or a range of child shapes.
IShape ParentGroup { get; }
ReadOnly Property ParentGroup As IShape
IShape rectangle = worksheet.Shapes.AddShape("rectangle", AutoShapeType.Rectangle, 20, 20, 80, 50);
IShape oval = worksheet.Shapes.AddShape("oval", AutoShapeType.Oval, 40, 40, 80, 50);
IShape groupShape = worksheet.Shapes.Range[new int[] {0, 1}].Group();
IShape childShape = groupShape.GroupItems[0];
IShape parentGroup = childShape.ParentGroup;