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

Creates and returns a Table at the beginning of this Element. The table will contain the specified number of rows and columns. It will also be formatted with the properties specified.

Signature
C#
C#
 public virtual Table InsertTableBefore(int rows, int columns, TableFormatting props)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Overridable Function InsertTableBefore(ByVal rows As Integer, ByVal columns As Integer, ByVal props As TableFormatting) As 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}
{param:props}A [TableFormatting|TableFormatting] object representing the formatting properties to apply to the table.{param}
{returns}A {{Table}} object representing the newly created table.{returns}
{example}{code:csharp|title=C#}
Parameters
Param
rows
rows

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

Param
columns
columns

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

Param
props
props

A TableFormatting object representing the formatting properties to apply to the table.

Returns

A Table object representing the newly created table.

Example
Code Block
csharp
csharp
titleC#

Table tbl = e.InsertTableBefore(2, 3, tFormatting);
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim tbl As Table = e.InsertTableBefore(2, 3, tFormatting)
{code} {example}