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}{signature:
}
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal row As Integer, ByVal col As Integer) As Cell
{signature}
{parameters}
{param:row}The 
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} {param:col}The

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.

{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#}

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} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}

Dim c As Cell = ar(5, 5)
{code} {example} {scrollbar}
Scrollbar