BorderType

BorderType enumeration

Utility class containing constants. Enumerates the border line and diagonal line types.

Values

NameDescription
LEFT_BORDERRepresents left border line.
RIGHT_BORDERRepresents right border line exists.
TOP_BORDERRepresents top border line.
BOTTOM_BORDERRepresents bottom border line.
DIAGONAL_DOWNRepresents the diagonal line from top left to right bottom.
DIAGONAL_UPRepresents 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.
SIDE_BORDERS
DIAGONAL
DYNAMIC_STYLE_BORDERS
NONE