Page tree

Versions Compared

Key

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

Excerpt

Merges the specified set of cells into a single cell.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Merges the specified set of cells into a single cell.{excerpt}
{signature:C#}
 public void MergeCells(int firstRow, int firstCol, int numRows, int numCols)
Signature
{signature}{signature:vb.net
vb.net
}
Public Sub MergeCells(ByVal firstRow As Integer, ByVal firstCol As Integer, ByVal numRows As Integer, ByVal numCols As Integer)
Parameters
{signature}
{parameters}
{param:firstRow}The 0\-based number of the first row in the set of cells to merge.{param}
{param:firstCol}The 0\-based number of the first column in the set of cells to merge.{param}
{param:numRows}The number of rows to merge.{param}
{param:numCols}The number of columns to merge.{param}
{example}{code:csharp|title=C#}
table.MergeCells(3, 2, 4, 1);
{code}
{code:vb.net
|title=vb.net
}
table.MergeCells(3, 2, 4, 1){code}

{example}
Param
firstRowfirstRow

The 0-based number of the first row in the set of cells to merge.

Param
firstColfirstCol

The 0-based number of the first column in the set of cells to merge.

Param
numRowsnumRows

The number of rows to merge.

Param
numColsnumCols

The number of columns to merge.

Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle