[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IAreas.Item

this Property

this[int]

Returns the zero based instance of IRange specified by index.

Declaration
IRange this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As IRange
Parameters
Type Name Description
int index

The index of the area to retrieve.

Property Value
Type Description
IRange

The IRange.

Examples
IRange range = worksheet.Range["A1:B2,D1:E2"];
IAreas areas = range.Areas;
IRange secondArea = areas[1];
secondArea.Value = "Reviewed";