BordersIndex
type BordersIndex = DiagonalDown | DiagonalUp | Bottom | Left | Right | Top | InsideHorizontal | InsideVertical
Description
Specifies the cell border position.
Try It
oWorksheet.GetRange("E2").SetBorders("Bottom", "Dotted", Api.CreateColorFromRGB(0, 0, 0));