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
{obsolete}This method has been deprecated, as it is not the most efficient way to edit Row properties. Instead, use the [
Wiki Markup
Obsolete

This method has been deprecated, as it is not the most efficient way to edit Row properties. Instead, use the Worksheet.GetRowProperties(Int32)

]

method

to

return

the

[

RowProperties

]

object

of

the

desired

row.

{obsolete} {description} {excerpt}Returns an [Area|Area] object representing all the cells in a specified group of rows. An area is a rectangular collection of cells.{excerpt} {signature:C#}

Description

Excerpt

Returns an Area object representing all the cells in a specified group of rows. An area is a rectangular collection of cells.

Signature
C#
C#
 public Area CreateAreaOfRows(int firstRow, int numRows)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function CreateAreaOfRows(ByVal firstRow As Integer, ByVal numRows As Integer) As Area
{signature}
{parameters}
{param:firstRow}The 0\-based index of the first row.{param}
{param:numRows}The number of rows to include.{param}
{returns}An {{Area}} object representing the set of cells in the specified rows.{returns}
{example}{code:csharp|title=C#}
Parameters
Param
firstRow
firstRow

The 0-based index of the first row.

Param
numRows
numRows

The number of rows to include.

Returns

An Area object representing the set of cells in the specified rows.

Example
Code Block
csharp
csharp
titleC#

Area a = ws.CreateAreaOfRows(0, 25);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim a As Area = ws.CreateAreaOfRows(0, 25)
{code} {example}