get_style method

get_style

Gets the style of this row.

def get_style(self):
    ...

Remarks

Modifying the returned style object directly takes no effect for this row or any cells in this row. You have to call Row.apply_style or Row.set_style method to apply the change to this row.

Row’s style is the style which will be inherited by cells in this row(those cells that have no custom style settings, such as existing cells that have not been set style explicitly, or those that have not been instantiated)

See Also