set_style method

set_style(self, style)

Sets the style of the range.


def set_style(self, style):
    ...
ParameterTypeDescription
styleaspose.cells.StyleThe Style object.

set_style(self, style, explicit_flag)

Apply the cell style.


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

See Also