Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Returns a cell within the specified area of cells.

Signature
C#
C#
 public Cell this[int row, int col] { get; }
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal row As Integer, ByVal col As Integer) As Cell
Parameters
Param
row
row

The cell's 0-based row number, relative to the first cell in the area. For example, for the area B4:E7, area[0,0] will return cell B4.

Param
col
col

The cell's 0-based column number, relative to the first cell in the area. For example, for the area B4:E7, area[0,0] will return cell B4.

Returns

A Cell object representing the cell. If the cell is not within the specified area, an exception will be thrown.

Example
Code Block
csharp
csharp
titleC#
Cell c = ar[5,5];
Code Block
vbnet
vbnet
titlevb.net
Dim c As Cell = ar(5, 5)
Scrollbar