auto_fit_rows方法

auto_fit_rows(self)

自动调整此工作表中的所有行。


def auto_fit_rows(self):
    ...

auto_fit_rows(self, only_auto)

自动调整此工作表中的所有行。


def auto_fit_rows(self, only_auto):
    ...
范围类型描述
only_autobool是,仅当未自定义行高时才自动调整行高。

auto_fit_rows(self, options)

自动调整此工作表中的所有行。


def auto_fit_rows(self, options):
    ...
范围类型描述
optionsAutoFitterOptions自动装配器选项

auto_fit_rows(self, start_row, end_row)

自动调整范围内的行高。


def auto_fit_rows(self, start_row, end_row):
    ...
范围类型描述
start_rowint起始行索引。
end_rowint结束行索引。

auto_fit_rows(self, start_row, end_row, options)

自动调整范围内的行高。


def auto_fit_rows(self, start_row, end_row, options):
    ...
范围类型描述
start_rowint起始行索引。
end_rowint结束行索引。
optionsAutoFitterOptions自动装配器的选项。

也可以看看