[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFormatColor.ThemeColor

ThemeColor Property

ThemeColor

Gets or sets the ThemeColor constant used by this format color item.

Declaration
ThemeColor ThemeColor { get; set; }
Property ThemeColor As ThemeColor
Examples
worksheet.Range["A1:A4"].Value = new object[,] {{-10}, {-5}, {0}, {20}};
IDataBar dataBar = worksheet.Range["A1:A4"].FormatConditions.AddDatabar();
INegativeBarFormat negativeBarFormat = dataBar.NegativeBarFormat;
negativeBarFormat.ColorType = DataBarNegativeColorType.Color;
negativeBarFormat.Color.ThemeColor = ThemeColor.Accent2;
ThemeColor themeColor = negativeBarFormat.Color.ThemeColor;