Class ExcelThemeFillStyles
Defines fill styles for a theme.
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 |
|---|---|
| Int32 |
Item[Int32]
Indexer for the collection
Declaration
public ExcelDrawingFill this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | 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(Int32)
Remove the item at the specified index
Declaration
public void Remove(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | Index |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable