[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShapeRange

IShapeRange Interface

Represents a shape range, which is a set of shapes on a document.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public interface IShapeRange : IReadOnlyList<IShape>, IReadOnlyCollection<IShape>, IEnumerable<IShape>, IEnumerable
Public Interface IShapeRange
    Inherits IReadOnlyList(Of IShape), IReadOnlyCollection(Of IShape), IEnumerable(Of IShape), IEnumerable
Examples
IShapes shapes = worksheet.Shapes;
shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
shapes.AddShape(AutoShapeType.Oval, 140, 20, 100, 60);
IShapeRange shapeRange = shapes.Range[new int[] { 0, 1 }];
int count = shapeRange.Count;

Properties

Name Description
this[string]

Returns a single object from a collection.

Methods

Name Description
Group()

Groups the shapes in the specified range.