##  add(self, start_cell, end_cell, has_headers) {#str-str-bool}
将 ListObject 添加到工作表。


### 返回

新 ListObject 的索引


```python

def add(self, start_cell, end_cell, has_headers):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| start_cell | str |列表范围的起始单元格。|
| end_cell | str |列表范围的结束单元格。|
| has_headers | bool |该范围是否有标题。|


##  add(self, start_row, start_column, end_row, end_column, has_headers) {#int-int-int-int-bool}
将 ListObject 添加到工作表。


### 返回

新 ListObject 的索引


```python

def add(self, start_row, start_column, end_row, end_column, has_headers):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| start_row | int |列表范围的起始行。|
| start_column | int |列表范围的起始行。|
| end_row | int |列表范围的起始行。|
| end_column | int |列表范围的起始行。|
| has_headers | bool |该范围是否有标题。|



### 也可以看看
* 模块[`aspose.cells.tables`](../../)
* 类 [`ListObjectCollection`](/cells/python-net/zh/aspose.cells.tables/listobjectcollection)
