BorderType

BorderType enumeration

Enumerates the border line and diagonal line types.

Values

NameValueDescription
BottomBorder8Represents bottom border line.
DiagonalDown16Represents the diagonal line from top left to right bottom.
DiagonalUp32Represents the diagonal line from bottom left to right top.
LeftBorder1Represents left border line.
RightBorder2Represents right border line exists.
TopBorder4Represents top border line.
Horizontal128Only for dynamic style,such as conditional formatting.
Vertical64Only for dynamic style,such as conditional formatting.