[]
Returns an instance of IBorders which represents the cell borders of the cell or range represented by this IRange.
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
| Type | Description |
|---|---|
| IBorders | The borders. |
IRange range = worksheet.Range["A1"];
IBorder border = range.Borders[BordersIndex.EdgeBottom];
border.LineStyle = BorderLineStyle.Thin;
BorderLineStyle style = border.LineStyle;