Page tree

Versions Compared

Key

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

Excerpt

Defines a rectangular Area of cells in the worksheet.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Defines a rectangular [Area|Area] of cells in the worksheet.{excerpt}
{signature:C#}
 public Area CreateArea(int firstRow, int firstColumn, int numRows, int numColumns)
Signature
{signature}{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

...

0-based first row of the area.

...

0-based first column of the area.

...

Number of rows in the area. Maximum: 65536.

...

Number of columns in the area. Maximum: 256.

Returns

An Area object.

{signature}
{parameters}
{param:firstRow}0\-based first row of the area.{param}
{param:firstColumn}0\-based first column of the area.{param}
{param:numRows}Number of rows in the area. Maximum: 65536.{param}
{param:numColumns}Number of columns in the area. Maximum: 256.{param}
{returns}An {{Area}} object.{returns}
{example}{code:csharp|title=C#}
Area a = ws.CreateArea(4, 4, 15, 6);
{code}
{code:vb.net
|title=vb.net
}
Dim a As Area = ws.CreateArea(4, 4, 15, 6){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle