[]
        
(Showing Draft Content)

C1.Excel.XLCellRangeCollection

XLCellRangeCollection Class

Represents a collection of XLCellRange objects on an XLSheet.

Inheritance
XLCellRangeCollection
Implements
Namespace: C1.Excel
Assembly: C1.Excel.dll
Syntax
public class XLCellRangeCollection : IEnumerable

Properties

Name Description
ActiveIndex

Gets or sets the active index in the collection.

Book

Gets a reference to the parent C1XLBook object.

Count

Gets the number of XLCellRange objects in the collection.

this[int]

Gets the XLCellRange object at the specified position in the collection.

Sheet

Gets the XLSheet object that owns the collection.

Methods

Name Description
Add(XLCellRange)

Appends an XLCellRange object to the collection.

Add(int, int, int, int)

Creates an XLCellRange object and appends it to the collection.

Clear()

Removes all XLCellRange objects from the collection.

Contains(XLCellRange)

Checks whether the collection contains a specific XLCellRange object.

IndexOf(XLCellRange)

Gets the position of an XLCellRange object in the collection.

Insert(int, XLCellRange)

Inserts an XLCellRange object at a specific position in the collection.

Remove(XLCellRange)

Removes an XLCellRange object from the collection.

RemoveAt(int)

Removes an XLCellRange object at a specific position from the collection.