auto_fit_columns方法
内容
[
隐藏
]auto_fit_columns(self)
自动调整此工作表中的所有列。
def auto_fit_columns(self):
...
auto_fit_columns(self, options)
自动调整此工作表中的所有列。
def auto_fit_columns(self, options):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| options | AutoFitterOptions | 自动适配选项 |
auto_fit_columns(self, first_column, last_column)
自动调整列宽。
def auto_fit_columns(self, first_column, last_column):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| first_column | int | 第一列索引。 |
| last_column | int | 最后一列索引。 |
注意事项
AutoFitColumn 是一个不精确的函数。
auto_fit_columns(self, first_column, last_column, options)
自动调整列宽。
def auto_fit_columns(self, first_column, last_column, options):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| first_column | int | 第一列索引。 |
| last_column | int | 最后一列索引。 |
| options | AutoFitterOptions | 自动适配选项 |
注意事项
AutoFitColumn 是一个不精确的函数。
auto_fit_columns(self, first_row, first_column, last_row, last_column)
自动调整列宽。
def auto_fit_columns(self, first_row, first_column, last_row, last_column):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| first_row | int | 第一行索引。 |
| first_column | int | 第一列索引。 |
| last_row | int | 最后一行索引。 |
| last_column | int | 最后一列索引。 |
注意事项
AutoFitColumn 是一个不精确的函数。
auto_fit_columns(self, first_row, first_column, last_row, last_column, options)
自动调整列宽。
def auto_fit_columns(self, first_row, first_column, last_row, last_column, options):
...
| 范围 | 类型 | 描述 |
|---|---|---|
| first_row | int | 第一行索引。 |
| first_column | int | 第一列索引。 |
| last_row | int | 最后一行索引。 |
| last_column | int | 最后一列索引。 |
| options | AutoFitterOptions | 自动适配选项 |
注意事项
AutoFitColumn 是一个不精确的函数。