Class ExcelThemeLineStyles
Defines the line styles within the 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 ExcelThemeLineStyles : XmlHelper, IEnumerable<ExcelThemeLine>, 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 ExcelThemeLine this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index |
Property Value
| Type | Description |
|---|---|
| ExcelThemeLine | The line style |
Methods
Add()
Adds a new line to the collection
Declaration
public ExcelThemeLine Add()
Returns
| Type | Description |
|---|---|
| ExcelThemeLine | The line |
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<ExcelThemeLine> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelThemeLine> | The enumerator |
Remove(ExcelThemeLine)
Removes a line item from the collection
Declaration
public void Remove(ExcelThemeLine item)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelThemeLine | item | The item |
Remove(Int32)
Remove the line style at the specified index. The collection must have at least three line styles.
Declaration
public void Remove(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | Index | The index |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable