Show / Hide Table of Contents

Class ExcelThemeLineStyles

Defines the line styles within the theme

Inheritance
System.Object
XmlHelper
ExcelThemeLineStyles
Implements
System.Collections.Generic.IEnumerable<ExcelThemeLine>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.Int32

Item[Int32]

Indexer for the collection

Declaration
public ExcelThemeLine this[int index] { get; }
Parameters
Type Name Description
System.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
System.Collections.Generic.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
System.Int32 Index

The index

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Back to top Generated by DocFX