trim_leading_blank_row_and_column property

trim_leading_blank_row_and_column property

Indicates whether leading blank rows and columns should be trimmed like what ms excel does. Default is true.

Remarks

Same with the rule in ms excel, a row/column will not be taken as blank if it has custom style, even if it contains no cell data. When saving with LightCells mode, this option takes no effect. User should control the output range by the implementation of TxtSaveOptions.light_cells_data_provider or by speicifing TxtSaveOptions.export_area

Definition:

@property
def trim_leading_blank_row_and_column(self):
    ...
@trim_leading_blank_row_and_column.setter
def trim_leading_blank_row_and_column(self, value):
    ...

See Also