auto_fit_rows方法
auto_fit_rows()
自动调整此工作表中的所有行。
def auto_fit_rows(self):
...
auto_fit_rows(only_auto)
自动调整此工作表中的所有行。
def auto_fit_rows(self, only_auto):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| only_auto | bool | 是的,仅在未自定义行高时自动调整行高。 |
auto_fit_rows(options)
自动调整此工作表中的所有行。
def auto_fit_rows(self, options):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| options | AutoFitterOptions | 自动装配选项 |
auto_fit_rows(start_row, end_row)
自动调整范围内的行高。
def auto_fit_rows(self, start_row, end_row):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| start_row | int | 开始行索引。 |
| end_row | int | 结束行索引。 |
auto_fit_rows(start_row, end_row, options)
自动调整范围内的行高。
def auto_fit_rows(self, start_row, end_row, options):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| start_row | int | 开始行索引。 |
| end_row | int | 结束行索引。 |
| options | AutoFitterOptions | 自动装配器的选项。 |
也可以看看
- 模块 aspose.cells
- 类 Worksheet