BorderType Enum

BorderType Enum

Enumerates the border line and diagonal line types.


type BorderType int32

Fields

FieldDescription
LeftBorderRepresents left border line.
RightBorderRepresents right border line exists.
TopBorderRepresents top border line.
BottomBorderRepresents bottom border line.
DiagonalDownRepresents the diagonal line from top left to right bottom.
DiagonalUpRepresents the diagonal line from bottom left to right top.
VerticalOnly for dynamic style, such as conditional formatting.
HorizontalOnly for dynamic style, such as conditional formatting.
SideBordersIndicates the four side borders: ,, and .
DiagonalSpecial combination of multiple borders for user’s convenience for some APIs.Indicates diagonal borders of and .
DynamicStyleBordersIndicates and of dynamic style.
NoneNo border has been specified.