[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.AddTable

AddTable Method

AddTable(string, int, int, int, int, string)

Adds a table with the specified name to the specified cell range of the sheet view with the specified style.

Declaration
public TableView AddTable(string tableName, int row, int column, int rowCount, int columnCount, string tableStyleName)
Public Function AddTable(tableName As String, row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, tableStyleName As String) As TableView
Parameters
Type Name Description
string tableName

Name of table to add.

int row

Row index of specified cell range.

int column

Column index of specified cell range.

int rowCount

Row count of specified cell range.

int columnCount

Column count of specified cell range.

string tableStyleName

Name of table style applied to the new table.

Returns
Type Description
TableView

The newly added TableView object.

AddTable(string, int, int, int, int, string, bool, bool)

Adds a table with a specified name to the specified cell range of the sheet view with the specified style.

Declaration
public TableView AddTable(string tableName, int row, int column, int rowCount, int columnCount, string tableStyleName, bool visibleHeaderRow, bool visibleTotalRow)
Public Function AddTable(tableName As String, row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, tableStyleName As String, visibleHeaderRow As Boolean, visibleTotalRow As Boolean) As TableView
Parameters
Type Name Description
string tableName

Name of new table.

int row

Row index of specified cell range.

int column

Column index of specified cell range.

int rowCount

Row count of specified cell range.

int columnCount

Column count of specified cell range.

string tableStyleName

Name of table style applied to the table.

bool visibleHeaderRow

Indicates if the table has a visible header row.

bool visibleTotalRow

Indicates if the table has a visible total row.

Returns
Type Description
TableView

The newly added TableView object.

AddTable(string, int, int, int, int)

Adds a table with the specified name to the specified cell range of the sheet view with the default table style.

Declaration
public TableView AddTable(string tableName, int row, int column, int rowCount, int columnCount)
Public Function AddTable(tableName As String, row As Integer, column As Integer, rowCount As Integer, columnCount As Integer) As TableView
Parameters
Type Name Description
string tableName

Name of table.

int row

Row index of specified cell range.

int column

Column index of specified cell range.

int rowCount

Row count of specified cell range.

int columnCount

Column count of specified cell range.

Returns
Type Description
TableView

The newly added TableView object.

AddTable(int, int, int, int, string)

Adds a table to the specified cell range of the sheet view with the specified style.

Declaration
public TableView AddTable(int row, int column, int rowCount, int columnCount, string tableStyleName)
Public Function AddTable(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, tableStyleName As String) As TableView
Parameters
Type Name Description
int row

Row index of specified cell range.

int column

Column index of specified cell range.

int rowCount

Row count of specified cell range.

int columnCount

Column count of specified cell range.

string tableStyleName

Name of table style applied to the table.

Returns
Type Description
TableView

The newly added TableView object.

AddTable(int, int, int, int, string, bool, bool)

Adds a table to the specified cell range of the sheet view with the specified style.

Declaration
public TableView AddTable(int row, int column, int rowCount, int columnCount, string tableStyleName, bool visibleHeaderRow, bool visibleTotalRow)
Public Function AddTable(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, tableStyleName As String, visibleHeaderRow As Boolean, visibleTotalRow As Boolean) As TableView
Parameters
Type Name Description
int row

Row index of specified cell range.

int column

Column index of specified cell range.

int rowCount

Row count of specified cell range.

int columnCount

Column count of specified cell range.

string tableStyleName

Name of table style applied to the table.

bool visibleHeaderRow

Indicates if the table has a visible header row.

bool visibleTotalRow

Indicates if the table has a visible total row.

Returns
Type Description
TableView

The newly added TableView object.

AddTable(int, int, int, int)

Adds a table to the specified cell range of the sheet view with the default style.

Declaration
public TableView AddTable(int row, int column, int rowCount, int columnCount)
Public Function AddTable(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer) As TableView
Parameters
Type Name Description
int row

Row index of specified cell range.

int column

Column index of specified cell range.

int rowCount

Row count of specified cell range.

int columnCount

Column count of specified cell range.

Returns
Type Description
TableView

The newly added TableView object.

AddTable(TableView)

Adds a TableView.

Declaration
public bool AddTable(TableView table)
Public Function AddTable(table As TableView) As Boolean
Parameters
Type Name Description
TableView table

The TableView object.

Returns
Type Description
bool

TRUE if success. Otherwise, FALSE.