ListObjectCollectionAdd Method (Int32, Int32, Int32, Int32, Boolean)

Adds a ListObject to the worksheet.

Namespace:  Aspose.Cells.Tables
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public int Add(
	int startRow,
	int startColumn,
	int endRow,
	int endColumn,
	bool hasHeaders
)

Parameters

startRow
Type: SystemInt32
The start row of the list range.
startColumn
Type: SystemInt32
The start row of the list range.
endRow
Type: SystemInt32
The start row of the list range.
endColumn
Type: SystemInt32
The start row of the list range.
hasHeaders
Type: SystemBoolean
Whether the range has headers.

Return Value

Type: Int32
The index of the new ListObject
See Also