[]
Specifies the border to be retrieved.
public enum BordersIndex
DiagonalDown = 0Specifies that the border runs from the upper left-hand corner to the lower right of each cell in the range.
DiagonalUp = 1Specifies that the border runs from the lower left-hand corner to the upper right of each cell in the range.
EdgeBottom = 2Specifies the border is at the bottom of the range.
EdgeLeft = 3Specifies that the border is at the left-hand edge of the range.
EdgeRight = 4Specifies that the border is at the right-hand edge of the range.
EdgeTop = 5Specifies that the border is at the top of the range.
InsideHorizontal = 6Specifies that there are horizontal borders for all cells in the range except borders on the outside of the range.
InsideVertical = 7Specifies that there are vertical borders for all the cells in the range except borders on the outside of the range.