apply_style method

apply_style(self, style, flag)

Applies formats for a whole range.


def apply_style(self, style, flag):
    ...
ParameterTypeDescription
styleaspose.cells.StyleThe style object which will be applied.
flagaspose.cells.StyleFlagFlags which indicates applied formatting properties.

Remarks

Each cell in this range will contains a Style object. So this is a memory-consuming method. Please use it carefully.

See Also