Class ExcelChartExDataLabelCollection
A collection of individual data labels
Inheritance
System.Object
ExcelChartExDataLabelCollection
Implements
System.Collections.Generic.IEnumerable<ExcelChartExDataLabelItem>
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.ChartEx
Assembly: EPPlus.dll
Syntax
public class ExcelChartExDataLabelCollection : ExcelChartExDataLabel, IDrawingStyle, IDrawingStyleBase, IEnumerable<ExcelChartExDataLabelItem>, IEnumerable
Properties
Item[Int32]
Returns tje data label at the specific position.
Declaration
public ExcelChartExDataLabel this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the datalabel. 0-base. |
Property Value
Type | Description |
---|---|
ExcelChartExDataLabel | Returns null if the data label does not exist in the collection |
Methods
Add(Int32)
Adds an individual data label for customization.
Declaration
public ExcelChartExDataLabelItem Add(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero based index |
Returns
Type | Description |
---|---|
ExcelChartExDataLabelItem |
GetEnumerator()
Declaration
public IEnumerator<ExcelChartExDataLabelItem> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ExcelChartExDataLabelItem> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable