
## set_border(self, border_type, border_style, border_color) {#aspose.cells.BorderType-aspose.cells.CellBorderType-aspose.pydrawing.Color}

Sets the borders of the style.


### Returns 


Whether current border settings have been changed.


```python

def set_border(self, border_type, border_style, border_color):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| border_type | aspose.cells.BorderType | The border(s) to be set, can be combination of [`BorderType`](/cells/python-net/aspose.cells/bordertype). |
| border_style | aspose.cells.CellBorderType | The style of the border. |
| border_color | aspose.pydrawing.Color | The color of the border. |


## set_border(self, border_type, border_style, border_color) {#aspose.cells.BorderType-aspose.cells.CellBorderType-aspose.cells.CellsColor}

Sets the borders of the style.


### Returns 


Whether current border settings have been changed.


```python

def set_border(self, border_type, border_style, border_color):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| border_type | aspose.cells.BorderType | The border(s) to be set, can be combination of [`BorderType`](/cells/python-net/aspose.cells/bordertype). |
| border_style | aspose.cells.CellBorderType | The style of the border. |
| border_color | aspose.cells.CellsColor | The color of the border. |



### See Also
* module [`aspose.cells`](../../)
* class [`BorderType`](/cells/python-net/aspose.cells/bordertype)
* class [`Style`](/cells/python-net/aspose.cells/style)
