[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShapes.Count

Count Property

Count

Gets the number of IShape objects in this collection.

Use this property to get the current number of IShape objects in the IShapes collection for a worksheet.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
IShapes shapes = worksheet.Shapes;
shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
shapes.AddShape(AutoShapeType.Oval, 140, 20, 100, 60);
int count = shapes.Count;