[]
Gets the number of shapes in this grouped shape collection.
Use this property to determine how many shapes are contained in an IGroupShapes collection obtained from a grouped shape, such as through GroupItems.
int Count { get; }
ReadOnly Property Count As Integer
IShape shape1 = worksheet.Shapes.AddShape("shape1", AutoShapeType.Rectangle, 20, 20, 60, 40);
IShape shape2 = worksheet.Shapes.AddShape("shape2", AutoShapeType.Oval, 100, 20, 60, 40);
IShape groupShape = worksheet.Shapes.Range[new string[] {"shape1", "shape2"}].Group();
int count = groupShape.GroupItems.Count;