Aspose::Cells::BorderType enum

BorderType enum

Enumerates the border line and diagonal line types.

enum class BorderType

Values

NameValueDescription
LeftBorder1
Represents left border line.
RightBorder2
Represents right border line exists.
TopBorder4
Represents top border line.
BottomBorder8
Represents bottom border line.
DiagonalDown16
Represents the diagonal line from top left to right bottom.
DiagonalUp32
Represents the diagonal line from bottom left to right top.
Vertical64
Only for dynamic style, such as conditional formatting.
Horizontal128
Only for dynamic style, such as conditional formatting.
SideBorders15
Indicates the four side borders: LeftBorder, RightBorder, TopBorder and BottomBorder.
Diagonal48
Special combination of multiple borders for user’s convenience for some APIs. Indicates diagonal borders of DiagonalUp and DiagonalDown.
DynamicStyleBorders192
Indicates Vertical and Horizontal of dynamic style.
None0
No border has been specified.

See Also