[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.Borders

Borders Property

Borders

Gets the IBorders collection that represents the borders of a style.

Use this property to access and modify the border settings stored in the style.

Declaration
IBorders Borders { get; }
ReadOnly Property Borders As IBorders
Examples
IStyle style = workbook.Styles.Add("borderStyle");
style.Borders.LineStyle = BorderLineStyle.DashDot;
worksheet.Range["A1"].Style = style;
IBorders borders = style.Borders;