Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > Element > InsertTableBefore

InsertTableBefore Method



Signature:

public Table InsertTableBefore ( int rows , int columns , TableFormatting props )

Description:

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.

Parameters:

rows     An int representing the number of rows the table will have.
columns     An int representing the number of columns the table will have.
props     A TableFormatting object representing the formatting properties to apply to the table.

Returns:

Table A Table object representing the newly created table.

Examples:

[csharp]
Table tbl = e.InsertTableBefore(2, 3, tFormatting);
[vbnet]
Dim tbl As Table = e.InsertTableBefore(2, 3, tFormatting)



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.