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