Show / Hide Table of Contents

Class ExcelChartTrendlineCollection

A collection of trendlines.

Inheritance
Object
ExcelChartTrendlineCollection
Implements
IEnumerable<ExcelChartTrendline>
IEnumerable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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
Int32

Item[Int32]

Returns a chart trendline at the specific position.

Declaration
public ExcelChartTrendline this[int index] { get; }
Parameters
Type Name Description
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
IEnumerator<ExcelChartTrendline>

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
IEnumerator

Implements

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