## BorderType enum


Enumerates the border line and diagonal line types.

```cpp
enum class BorderType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| LeftBorder | 1 | <br>Represents left border line. |
| RightBorder | 2 | <br>Represents right border line exists. |
| TopBorder | 4 | <br>Represents top border line. |
| BottomBorder | 8 | <br>Represents bottom border line. |
| DiagonalDown | 16 | <br>Represents the diagonal line from top left to right bottom. |
| DiagonalUp | 32 | <br>Represents the diagonal line from bottom left to right top. |
| Vertical | 64 | <br>Only for dynamic style, such as conditional formatting,pivot table. |
| Horizontal | 128 | <br>Only for dynamic style, such as conditional formatting,pivot table. |
| SideBorders | 15 | <br>Indicates the four side borders: [LeftBorder](./), [RightBorder](./), [TopBorder](./) and [BottomBorder](./). |
| Diagonal | 48 | <br>Special combination of multiple borders for user's convenience for some APIs. Indicates diagonal borders of [DiagonalUp](./) and [DiagonalDown](./). |
| DynamicStyleBorders | 192 | <br>Indicates [Vertical](./) and [Horizontal](./) of dynamic style. |
| None | 0 | <br>No border has been specified. |

## See Also

* Namespace [Aspose::Cells](../)
* Library [Aspose.Cells for C++](../../)
