
## BorderType enumeration

Enumerates the border line and diagonal line types.



The BorderType type exposes the following members:

### Fields
| Field | Description |
| :- | :- |
| LEFT_BORDER | Represents left border line. |
| RIGHT_BORDER | Represents right border line exists. |
| TOP_BORDER | Represents top border line. |
| BOTTOM_BORDER | Represents bottom border line. |
| DIAGONAL_DOWN | Represents the diagonal line from top left to right bottom. |
| DIAGONAL_UP | Represents the diagonal line from bottom left to right top. |
| VERTICAL | Only for dynamic style, such as conditional formatting. |
| HORIZONTAL | Only for dynamic style, such as conditional formatting. |
| SIDE_BORDERS | Indicates the four side borders: [`BorderType.LEFT_BORDER`](/cells/python-net/aspose.cells/bordertype#LEFT_BORDER),<br/>[`BorderType.RIGHT_BORDER`](/cells/python-net/aspose.cells/bordertype#RIGHT_BORDER), [`BorderType.TOP_BORDER`](/cells/python-net/aspose.cells/bordertype#TOP_BORDER) and [`BorderType.BOTTOM_BORDER`](/cells/python-net/aspose.cells/bordertype#BOTTOM_BORDER). |
| DIAGONAL | Special combination of multiple borders for user's convenience for some APIs.<br/>Indicates diagonal borders of [`BorderType.DIAGONAL_UP`](/cells/python-net/aspose.cells/bordertype#DIAGONAL_UP) and [`BorderType.DIAGONAL_DOWN`](/cells/python-net/aspose.cells/bordertype#DIAGONAL_DOWN). |
| DYNAMIC_STYLE_BORDERS | Indicates [`BorderType.VERTICAL`](/cells/python-net/aspose.cells/bordertype#VERTICAL) and [`BorderType.HORIZONTAL`](/cells/python-net/aspose.cells/bordertype#HORIZONTAL) of dynamic style. |
| NONE | No border has been specified. |



### See Also
* module [`aspose.cells`](..)
