Class WorksheetChartsCollection
Inheritance
System.Object
CollectionBase<System.Object>
CollectionBaseEx<System.Object>
WorksheetChartsCollection
Implements
System.Collections.Generic.IList<System.Object>
System.Collections.Generic.ICollection<System.Object>
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class WorksheetChartsCollection : CollectionBaseEx<object>, IList<object>, ICollection<object>, IEnumerable<object>, ICloneParent, IChartShapes, IEnumerable, IParentApplication
Constructors
WorksheetChartsCollection(IApplication, Object)
Declaration
public WorksheetChartsCollection(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | |
System.Object | parent |
Properties
Item[Int32]
Returns a single Chart object from a Charts collection.
Declaration
public IChartShape this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
IChartShape |
Methods
Add()
Creates a new chart.
Declaration
public IChartShape Add()
Returns
Type | Description |
---|---|
IChartShape | Newly created chart object. |
AddChart()
Adds chart.
Declaration
public IChart AddChart()
Returns
Type | Description |
---|---|
IChart | Added chart. |
AddChart(IChartShape)
Adds new chart to the collection.
Declaration
protected IChartShape AddChart(IChartShape chart)
Parameters
Type | Name | Description |
---|---|---|
IChartShape | chart | Chart to add. |
Returns
Type | Description |
---|---|
IChartShape | Added chart. |
InnerAddChart(IChartShape)
Adds new chart to the collection (doesn't add it to the shapes collection).
Declaration
protected IChartShape InnerAddChart(IChartShape chart)
Parameters
Type | Name | Description |
---|---|---|
IChartShape | chart | Chart to add. |
Returns
Type | Description |
---|---|
IChartShape | Added chart. |
RemoveAt(Int32)
Remove chart with specified index.
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of chart to remove. |
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable