[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBar.BarFillType

BarFillType Property

BarFillType

Gets or sets how a data bar is filled with color.

The DataBarFillType value specifies whether the data bar uses a solid fill or a gradient fill.

Declaration
DataBarFillType BarFillType { get; set; }
Property BarFillType As DataBarFillType
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{10}, {30}, {20}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
dataBar.BarFillType = DataBarFillType.Gradient;
DataBarFillType fillType = dataBar.BarFillType;