[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBar.BarBorder

BarBorder Property

BarBorder

Gets an object that specifies the border of a data bar.

Use the returned IDataBarBorder object to configure the border appearance of the current data bar, such as its border type and color.

Declaration
IDataBarBorder BarBorder { get; }
ReadOnly Property BarBorder As IDataBarBorder
Examples
worksheet.Range["A1:A5"].Value = new object[,] {{1}, {2}, {3}, {4}, {5}};
IDataBar dataBar = worksheet.Range["A1:A5"].FormatConditions.AddDatabar();
IDataBarBorder border = dataBar.BarBorder;
border.Type = DataBarBorderType.Solid;