[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IColorStop.ThemeColor

ThemeColor Property

ThemeColor

Gets or sets the theme color of this gradient stop.

Use this property to read the theme color of a gradient stop, or to apply a workbook theme color to a gradient stop. If the gradient stop does not use a theme color, this property returns None.

Declaration
ThemeColor ThemeColor { get; set; }
Property ThemeColor As ThemeColor
Examples
IRange range = worksheet.Range["A1"];
range.Interior.Pattern = Pattern.LinearGradient;
IColorStop colorStop = ((ILinearGradient) range.Interior.Gradient).ColorStops[0];
colorStop.ThemeColor = ThemeColor.Accent1;
ThemeColor themeColor = colorStop.ThemeColor;