Class ExcelChartStyleColorManager
Manages colors for a chart style
Inheritance
Object
ExcelChartStyleColorManager
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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 |
|---|---|---|
| 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 |
|---|---|---|
| Boolean | isAuto | Is automatic |
| 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 |
|---|---|---|
| Int32 | index | Is index, maps to the style matrix in the theme |