
## set_style(self, style) {#aspose.cells.Style}

Sets the cell style.



```python

def set_style(self, style):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| style | aspose.cells.Style | The cell style. |
### Remarks

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

## set_style(self, style, explicit_flag) {#aspose.cells.Style-bool}

Apply the changed property of style to the cell.



```python

def set_style(self, style, explicit_flag):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| style | aspose.cells.Style | The cell style. |
| explicit_flag | bool | True, only overwriting formatting which is explicitly set. |


## set_style(self, style, flag) {#aspose.cells.Style-aspose.cells.StyleFlag}

Apply the cell style based on flags.



```python

def set_style(self, style, flag):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| style | aspose.cells.Style | The cell style. |
| flag | aspose.cells.StyleFlag | The style flag. |



### See Also
* module [`aspose.cells`](../../)
* class [`Cell`](/cells/python-net/aspose.cells/cell)
