[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IGroupShapes

IGroupShapes Interface

Represents the individual shapes within a grouped shape.

Use this collection to inspect or retrieve the shapes that belong to a grouped shape returned by GroupItems.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public interface IGroupShapes : IEnumerable
Public Interface IGroupShapes
    Inherits IEnumerable
Examples
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();
IGroupShapes groupItems = groupShape.GroupItems;
int count = groupItems.Count;

Properties

Name Description
Count

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.

this[int]

Gets the grouped shape item at the specified index in this collection.

this[string]

Gets the grouped shape item whose name matches the specified value.