BordersIndex
Specifies the cell border position.
Type
Enumeration
Values
- "DiagonalDown"
- "DiagonalUp"
- "Bottom"
- "Left"
- "Right"
- "Top"
- "InsideHorizontal"
- "InsideVertical"
Example
This example sets a bottom black dotted border for a cell.
worksheet.GetRange("E2").SetBorders("Bottom", "Dotted", Api.CreateColorFromRGB(0, 0, 0));