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

Defines a rectangular Area of cells in the worksheet.

Signature
C#
C#
 public Area CreateArea(int firstRow, int firstColumn, int numRows, int numColumns)
Signature
vb.net
vb.net
Public Function CreateArea(ByVal firstRow As Integer, ByVal firstColumn As Integer, ByVal numRows As Integer, ByVal numColumns As Integer) As Area
Parameters
Param
firstRow
firstRow

0-based first row of the area.

Param
firstColumn
firstColumn

0-based first column of the area.

Param
numRows
numRows

Number of rows in the area. Maximum: 65536.

Param
numColumns
numColumns

Number of columns in the area. Maximum: 256.

Returns

An Area object.

Example
Code Block
csharp
csharp
titleC#
Area a = ws.CreateArea(4, 4, 15, 6);
Code Block
vb.net
vb.net
titlevb.net
Dim a As Area = ws.CreateArea(4, 4, 15, 6)