Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 /// <summary>
 /// Set the color of the object
 /// </summary>
 /// <param name="color">The color</param>
 public void SetColor(eThemeSchemeColor color)
 {
     Theme = color;
 }
Esempio n. 3
0
 /// <summary>
 /// Sets a theme color
 /// </summary>
 /// <param name="themeColorType">The theme color</param>
 public void SetColor(eThemeSchemeColor themeColorType)
 {
     Clear();
     _theme = themeColorType;
 }
Esempio n. 4
0
 /// <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);
 }