Class ExcelChartTrendlineCollection
A collection of trendlines.
Inheritance
System.Object
ExcelChartTrendlineCollection
Implements
System.Collections.Generic.IEnumerable<ExcelChartTrendline>
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 ExcelChartTrendlineCollection : IEnumerable<ExcelChartTrendline>, IEnumerable
Properties
Count
Number of items in the collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Returns a chart trendline at the specific position.
Declaration
public ExcelChartTrendline this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index in the collection. 0-base |
Property Value
Type | Description |
---|---|
ExcelChartTrendline |
Methods
Add(eTrendLine)
Add a new trendline
Declaration
public ExcelChartTrendline Add(eTrendLine Type)
Parameters
Type | Name | Description |
---|---|---|
eTrendLine | Type |
Returns
Type | Description |
---|---|
ExcelChartTrendline | The trendline |
Explicit Interface Implementations
IEnumerable<ExcelChartTrendline>.GetEnumerator()
Declaration
IEnumerator<ExcelChartTrendline> IEnumerable<ExcelChartTrendline>.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ExcelChartTrendline> |
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable