[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IChart.Shapes

Shapes Property

Shapes

Gets all drawing shapes in this chart.

The returned list contains the drawing shapes currently embedded in the chart. If the chart does not contain any drawing shapes, an empty list is returned.

Declaration
IEnumerable<IShape> Shapes { get; }
ReadOnly Property Shapes As IEnumerable(Of IShape)
Examples
IChart chart = worksheet.Shapes.AddChart(ChartType.ColumnClustered, 20, 20, 300, 200).Chart;
IShape autoShape = chart.AddShape(AutoShapeType.Chevron, 30, 25, 120, 80);
List<IShape> shapes = chart.Shapes;
IShape firstShape = shapes[0];