Aspose::Cells::Tables::ListObjectCollection::Add method

ListObjectCollection::Add(int32_t, int32_t, int32_t, int32_t, bool) method

Adds a ListObject to the worksheet.

int32_t Aspose::Cells::Tables::ListObjectCollection::Add(int32_t startRow, int32_t startColumn, int32_t endRow, int32_t endColumn, bool hasHeaders)
ParameterTypeDescription
startRowint32_tThe start row of the list range.
startColumnint32_tThe start row of the list range.
endRowint32_tThe start row of the list range.
endColumnint32_tThe start row of the list range.
hasHeadersboolWhether the range has headers.

ReturnValue

The index of the new ListObject

See Also

ListObjectCollection::Add(const U16String&, const U16String&, bool) method

Adds a ListObject to the worksheet.

int32_t Aspose::Cells::Tables::ListObjectCollection::Add(const U16String &startCell, const U16String &endCell, bool hasHeaders)
ParameterTypeDescription
startCellconst U16String&The start cell of the list range.
endCellconst U16String&The end cell of the list range.
hasHeadersboolWhether the range has headers.

ReturnValue

The index of the new ListObject

See Also

ListObjectCollection::Add(const char16_t*, const char16_t*, bool) method

Adds a ListObject to the worksheet.

int32_t Aspose::Cells::Tables::ListObjectCollection::Add(const char16_t *startCell, const char16_t *endCell, bool hasHeaders)
ParameterTypeDescription
startCellconst char16_t*The start cell of the list range.
endCellconst char16_t*The end cell of the list range.
hasHeadersboolWhether the range has headers.

ReturnValue

The index of the new ListObject

See Also