Class ExcelChartStyleColorManager
Manages colors for a chart style
Inheritance
System.Object
ExcelChartStyleColorManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Drawing.Chart.Style
Assembly: EPPlus.dll
Syntax
public class ExcelChartStyleColorManager : ExcelDrawingColorManager
Properties
StyleColor
The style color object
Declaration
public ExcelChartStyleColor StyleColor { get; }
Property Value
Type | Description |
---|---|
ExcelChartStyleColor |
Methods
ResetColors(String)
Reset the color
Declaration
protected void ResetColors(string newNodeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | newNodeName | The new name |
SetStyleColor(Boolean, Int32)
Sets the style color for a chart style
Declaration
public void SetStyleColor(bool isAuto = true, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isAuto | Is automatic |
System.Int32 | index | Is index, maps to the style matrix in the theme |
SetStyleColor(Int32)
Sets the style color for a chart style
Declaration
public void SetStyleColor(int index = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Is index, maps to the style matrix in the theme |