[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.Borders

Borders Property

Borders

Returns an instance of IBorders which represents the cell borders of the cell or range represented by this IRange.

Declaration
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
Property Value
Type Description
IBorders

The borders.

Examples
IRange range = worksheet.Range["A1"];
IBorder border = range.Borders[BordersIndex.EdgeBottom];
border.LineStyle = BorderLineStyle.Thin;
BorderLineStyle style = border.LineStyle;