Skip to content

Class ExcelThemeLineStyles

Namespace: OfficeOpenXml.Drawing.Theme
Assembly: EPPlus.dll

Defines the line styles within the theme

public class ExcelThemeLineStyles : XmlHelper, IEnumerable<ExcelThemeLine>, IEnumerable

Inheritance

object ← XmlHelper ← ExcelThemeLineStyles

Implements

IEnumerable
IEnumerable<ExcelThemeLine>

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

Count

Number of items in the collection

public int Count { get; }

Property Value

int

this[int]

Indexer for the collection

public ExcelThemeLine this[int index] { get; }

Property Value

ExcelThemeLine

Methods

Add()

Adds a new line to the collection

public ExcelThemeLine Add()

Returns

ExcelThemeLine

The line

GetEnumerator()

Gets the enumerator for the collection

public IEnumerator<ExcelThemeLine> GetEnumerator()

Returns

IEnumerator<ExcelThemeLine>

The enumerator

Remove(ExcelThemeLine)

Removes a line item from the collection

public void Remove(ExcelThemeLine item)

Parameters

item ExcelThemeLine

The item

Remove(int)

Remove the line style at the specified index. The collection must have at least three line styles.

public void Remove(int Index)

Parameters

Index int

The index