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
int

this[int]

Returns a chart trendline at the specific position.

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

Implements

IEnumerable<T>
IEnumerable
In this article
Back to top Generated by DocFX