GemBox.Spreadsheet

ExcelCell.SetBorders Method 

Sets borders on this cell or on merged range if this cell is merged.

public override void SetBorders(
   MultipleBorders multipleBorders,
   Color lineColor,
   LineStyle lineStyle
);

Parameters

multipleBorders
Borders to set.
lineColor
Line color.
lineStyle
Line style.

See Also

ExcelCell Class | GemBox.Spreadsheet Namespace | CellRange.Merged | MergedRange