set_style method

set_style

Sets the cell style.

def set_style(self, style):
    ...
ParameterTypeDescription
styleStyleThe cell style.

Remarks

If the border settings are changed, the border of adjust cells will be updated too.

set_style

Apply the changed property of style to the cell.

def set_style(self, style, explicit_flag):
    ...
ParameterTypeDescription
styleStyleThe cell style.
explicit_flagboolTrue, only overwriting formatting which is explicitly set.

set_style

Apply the cell style based on flags.

def set_style(self, style, flag):
    ...
ParameterTypeDescription
styleStyleThe cell style.
flagStyleFlagThe style flag.

See Also