[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IColorStop.TintAndShade

TintAndShade Property

TintAndShade

Gets or sets the tint and shade adjustment of this gradient stop.

Use a value from -1.0 to 1.0, where 0 means no adjustment, negative values make the color darker, and positive values make the color lighter.

Declaration
double TintAndShade { get; set; }
Property TintAndShade As Double
Examples
IRange range = worksheet.Range["A1"];
range.Interior.Pattern = Pattern.LinearGradient;

IColorStop colorStop = ((ILinearGradient) range.Interior.Gradient).ColorStops[0];

colorStop.ThemeColor = ThemeColor.Accent1;
colorStop.TintAndShade = 0.25;

double tintAndShade = colorStop.TintAndShade;