[]
        
(Showing Draft Content)

C1.Excel.XLChartCollection

XLChartCollection Class

Collection of XLChart objects that represent the individual worksheets in a C1XLBook.

Inheritance
XLChartCollection
Implements
Namespace: C1.Excel
Assembly: C1.Excel.dll
Syntax
public class XLChartCollection : IEnumerable
Public Class XLChartCollection
    Implements IEnumerable

Properties

Name Description
Book

Gets a reference to the C1XLBook that owns the collection.

Count

Gets the number of XLChart objects in the collection.

this[int]

Gets the XLChart at a given position in the collection.

Sheet

Gets a reference to the XLSheet that owns the collection.

Methods

Name Description
Add()

Creates a new XLChart and appends it to the collection.

Add(XLChart)

Appends an existing XLChart to the collection.

Clear()

Removes all items from the collection.

Contains(XLChart)

Determines whether the collection contains a specific XLChart object.

IndexOf(XLChart)

Gets the index of a given XLChart in the collection.

Insert(int)

Creates a new XLChart and inserts it at a specific position in the collection.

Insert(int, XLChart)

Inserts an XLChart object into the collection at the specified position.

Remove(XLChart)

Removes an XLChart from the collection.

RemoveAt(int)

Removes the XLChart at a specific index from the collection.