[]
Specifies the border of a data bar.
Use this enumeration with IDataBarBorder to control whether a data bar displays no border or a solid border.
public enum DataBarBorderType
Public Enum DataBarBorderType
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;
| Name | Description |
|---|---|
| None | Specifies that the data bar does not use a border. |
| Solid | Specifies that the data bar uses a solid border line. |