Class ExcelThemeFillStyles
Defines fill styles for a theme.
Inherited Members
Namespace: OfficeOpenXml.Drawing.Theme
Assembly: EPPlus.dll
Syntax
public class ExcelThemeFillStyles : XmlHelper, IEnumerable<ExcelDrawingFill>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[int]
Indexer for the collection
Declaration
public ExcelDrawingFill this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index |
Property Value
| Type | Description |
|---|---|
| ExcelDrawingFill | The fill |
Methods
Add(eFillStyle)
Adds a new fill to the collection
Declaration
public ExcelDrawingFill Add(eFillStyle style)
Parameters
| Type | Name | Description |
|---|---|---|
| eFillStyle | style | The fill style |
Returns
| Type | Description |
|---|---|
| ExcelDrawingFill | The fill |
GetEnumerator()
Get the enumerator for the Theme
Declaration
public IEnumerator<ExcelDrawingFill> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelDrawingFill> | The enumerator |
Remove(ExcelDrawingFill)
Remove a fill item
Declaration
public void Remove(ExcelDrawingFill item)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelDrawingFill | item | The item |
Remove(int)
Remove the item at the specified index
Declaration
public void Remove(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | Index |