Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Returns a cell within the specified area of cells.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns a cell within the specified area of cells.{excerpt}
{signature:C#}
 public Cell this[int row, int col] { get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Default ReadOnly Property Item(ByVal row As Integer, ByVal col As Integer) As Cell
Parameters
Param
rowrowThe
{signature}
{parameters}
{param: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
colcolThe
{param}
{param: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.

{param}
{returns}A [Cell|Cell] object representing the cell. If the cell is not within the specified area, an exception will be thrown.{returns}
{example}{code:csharp|title=C#}
Cell c = ar[5,5];
{code}
{code:vbnet|title=vb.net
}
Dim c As Cell = ar(5, 5)
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle

...

{code}

{example}
{scrollbar}