[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapes.Range

Range Method

Range()

Gets a IShapeRange object that represents all shapes in a IWorksheet object.

Declaration
IShapeRange Range()
Function Range() As IShapeRange
Returns
Type Description
IShapeRange

The subset of the shapes in a IShapes collection.

Range(params int[])

Gets a IShapeRange object that represents a subset of the shapes in a IShapes collection.

Declaration
IShapeRange Range(params int[] indexes)
Function Range(ParamArray indexes As Integer()) As IShapeRange
Parameters
Type Name Description
int[] indexes

The individual shapes to be included in the range.

Returns
Type Description
IShapeRange

The subset of the shapes in a IShapes collection.

Range(params string[])

Gets a IShapeRange object that represents a subset of the shapes in a IShapes collection.

Declaration
IShapeRange Range(params string[] names)
Function Range(ParamArray names As String()) As IShapeRange
Parameters
Type Name Description
string[] names

The individual shapes to be included in the range.

Returns
Type Description
IShapeRange

The subset of the shapes in a IShapes collection.

Range(params object[])

Gets a IShapeRange object that represents a subset of the shapes in a IShapes collection.

Declaration
IShapeRange Range(params object[] shapes)
Function Range(ParamArray shapes As Object()) As IShapeRange
Parameters
Type Name Description
object[] shapes

The individual shapes to be included in the range. Any IShape object, shape index or shape name can be used.

Returns
Type Description
IShapeRange

The subset of the shapes in a IShapes collection.