[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IFormatColor.TintAndShade

TintAndShade Property

TintAndShade

Gets or sets the tint and shade adjustment applied to this format color item.

The value represents the tint and shade adjustment applied to the format color. A value from -1 (darkest) to 1 (lightest) is supported, and 0 is neutral.

Declaration
double TintAndShade { get; set; }
Property TintAndShade As Double
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{-10}, {0}, {20}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
IFormatColor axisColor = dataBar.AxisColor;
axisColor.Color = Color.Blue;
axisColor.TintAndShade = 0.5;
double tintAndShade = axisColor.TintAndShade;