[]
Gets a IFormatColor object that specifies the color assigned to thethreshold of a color scale conditional format.
Use the returned object to inspect or modify the color for the minimum, midpoint, or maximum threshold represented by this criterion.
IFormatColor FormatColor { get; }
ReadOnly Property FormatColor As IFormatColor
IColorScale colorScale = worksheet.Range["A1:A5"].FormatConditions
.AddColorScale(ColorScaleType.TwoColorScale);
IColorScaleCriterion criterion = colorScale.ColorScaleCriteria[0];
IFormatColor formatColor = criterion.FormatColor;
formatColor.Color = Color.FromArgb(255, 0, 0);