Class ExcelChartDataLabelCollection
A collection of individually formatted datalabels
Implements
System.Collections.Generic.IEnumerable<ExcelChartDataLabelItem>
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.Chart
Assembly: EPPlus.dll
Syntax
public class ExcelChartDataLabelCollection : XmlHelper, IEnumerable<ExcelChartDataLabelItem>, 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 ExcelChartDataLabelItem this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index |
Property Value
Type | Description |
---|---|
ExcelChartDataLabelItem |
Methods
Add(Int32)
Adds a new chart label to the collection
Declaration
public ExcelChartDataLabelItem Add(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index |
Returns
Type | Description |
---|---|
ExcelChartDataLabelItem |
GetEnumerator()
Gets the enumerator for the collection
Declaration
public IEnumerator<ExcelChartDataLabelItem> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ExcelChartDataLabelItem> | The enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable