Page tree

Versions Compared

Key

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

Excerpt

Creates and returns a Table at the end of this Element. The table will contain the specified number of rows and columns.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Creates and returns a [Table|Table] at the end of this Element. The table will contain the specified number of rows and columns.{excerpt}
{signature:C#}
 public virtual Table InsertTableAfter(int rows, int columns)
Signature
{signature}{signature:vb.net
vb.net
}
Public Overridable Function InsertTableAfter(ByVal rows As Integer, ByVal columns As Integer) As Table
Parameters

...

An int representing the number of rows the table will have.

...

An int representing the number of columns the table will have.

Returns

A Table object representing the newly created table.

{signature}
{parameters}
{param:rows}An {{int}} representing the number of rows the table will have.{param}
{param:columns}An {{int}} representing the number of columns the table will have.{param}
{returns}A {{Table}} object representing the newly created table.{returns}
{example}{code:csharp|title=C#}
Table tbl = e.InsertTableAfter(2, 3);
{code}
{code:vb.net
|title=vb.net
}
Dim tbl As Table = e.InsertTableAfter(2, 3){code}

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