/// <summary> /// Set the color of the drawing /// </summary> /// <param name="color">The color</param> public void SetColor(eThemeSchemeColor color) { Color = null; Auto = null; Index = null; Theme = color; }
/// <summary> /// Set the color of the object /// </summary> /// <param name="color">The color</param> public void SetColor(eThemeSchemeColor color) { Theme = color; }
/// <summary> /// Sets a theme color /// </summary> /// <param name="themeColorType">The theme color</param> public void SetColor(eThemeSchemeColor themeColorType) { Clear(); _theme = themeColorType; }
/// <summary> /// Set the background to a specific color and fillstyle /// </summary> /// <param name="color">The theme color</param> /// <param name="fillStyle">The fillstyle. Default Solid</param> public void SetBackground(eThemeSchemeColor color, ExcelFillStyle fillStyle = ExcelFillStyle.Solid) { PatternType = fillStyle; BackgroundColor.SetColor(color); }