auto_fit_row method

auto_fit_row

Autofits the row height.

def auto_fit_row(self, row_index):
    ...
ParameterTypeDescription
row_indexintRow index.

Remarks

AutoFitRow is an imprecise function.

auto_fit_row

Autofits the row height.

def auto_fit_row(self, row_index, first_column, last_column):
    ...
ParameterTypeDescription
row_indexintRow index.
first_columnintFirst column index.
last_columnintLast column index.

Remarks

This method autofits a row based on content in a range of cells within the row.

auto_fit_row

Autofits the row height.

def auto_fit_row(self, row_index, first_column, last_column, options):
    ...
ParameterTypeDescription
row_indexintRow index.
first_columnintFirst column index.
last_columnintLast column index.
optionsAutoFitterOptionsThe auto fitter options

Remarks

This method autofits a row based on content in a range of cells within the row.

auto_fit_row

Autofits row height in a rectangle range.

def auto_fit_row(self, start_row, end_row, start_column, end_column):
    ...
ParameterTypeDescription
start_rowintStart row index.
end_rowintEnd row index.
start_columnintStart column index.
end_columnintEnd column index.

See Also