set_style method

set_style

Sets the style of the range.

def set_style(self, style):
    ...
ParameterTypeDescription
styleStyleThe Style object.

set_style

Apply the cell style.

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

See Also