# C1.Excel.XLChartCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Excel_XLChartCollection" data-uid="C1.Excel.XLChartCollection" class="text-break">XLChartCollection Class
</h1>
  <div class="markdown level0 summary"><p>Collection of <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> objects that represent the individual
worksheets in a <a class="xref" href="C1.Excel.C1XLBook.html">C1XLBook</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">XLChartCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Excel.html">C1.Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.Excel.dll</h6>
  <h5 id="C1_Excel_XLChartCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLChartCollection : IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLChartCollection
    Implements IEnumerable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Excel_XLChartCollection_Book" data-uid="C1.Excel.XLChartCollection.Book">
          <a class="xref" href="C1.Excel.XLChartCollection.Book.html#C1_Excel_XLChartCollection_Book">Book</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.Excel.C1XLBook.html">C1XLBook</a> that owns the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Count" data-uid="C1.Excel.XLChartCollection.Count">
          <a class="xref" href="C1.Excel.XLChartCollection.Count.html#C1_Excel_XLChartCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> objects in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Item_System_Int32_" data-uid="C1.Excel.XLChartCollection.Item(System.Int32)">
          <a class="xref" href="C1.Excel.XLChartCollection.Item.html#C1_Excel_XLChartCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> at a given position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Sheet" data-uid="C1.Excel.XLChartCollection.Sheet">
          <a class="xref" href="C1.Excel.XLChartCollection.Sheet.html#C1_Excel_XLChartCollection_Sheet">Sheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.Excel.XLSheet.html">XLSheet</a> that owns the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Excel_XLChartCollection_Add" data-uid="C1.Excel.XLChartCollection.Add">
          <a class="xref" href="C1.Excel.XLChartCollection.Add.html#C1_Excel_XLChartCollection_Add">Add()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> and appends it to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Add_C1_Excel_XLChart_" data-uid="C1.Excel.XLChartCollection.Add(C1.Excel.XLChart)">
          <a class="xref" href="C1.Excel.XLChartCollection.Add.html#C1_Excel_XLChartCollection_Add_C1_Excel_XLChart_">Add(XLChart)</a>
        </td>
        <td class="markdown level1 summary"><p>Appends an existing <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Clear" data-uid="C1.Excel.XLChartCollection.Clear">
          <a class="xref" href="C1.Excel.XLChartCollection.Clear.html#C1_Excel_XLChartCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Contains_C1_Excel_XLChart_" data-uid="C1.Excel.XLChartCollection.Contains(C1.Excel.XLChart)">
          <a class="xref" href="C1.Excel.XLChartCollection.Contains.html#C1_Excel_XLChartCollection_Contains_C1_Excel_XLChart_">Contains(XLChart)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_IndexOf_C1_Excel_XLChart_" data-uid="C1.Excel.XLChartCollection.IndexOf(C1.Excel.XLChart)">
          <a class="xref" href="C1.Excel.XLChartCollection.IndexOf.html#C1_Excel_XLChartCollection_IndexOf_C1_Excel_XLChart_">IndexOf(XLChart)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of a given <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Insert_System_Int32_" data-uid="C1.Excel.XLChartCollection.Insert(System.Int32)">
          <a class="xref" href="C1.Excel.XLChartCollection.Insert.html#C1_Excel_XLChartCollection_Insert_System_Int32_">Insert(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> and inserts it at a specific
position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Insert_System_Int32_C1_Excel_XLChart_" data-uid="C1.Excel.XLChartCollection.Insert(System.Int32,C1.Excel.XLChart)">
          <a class="xref" href="C1.Excel.XLChartCollection.Insert.html#C1_Excel_XLChartCollection_Insert_System_Int32_C1_Excel_XLChart_">Insert(int, XLChart)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> object into the collection at the specified position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_Remove_C1_Excel_XLChart_" data-uid="C1.Excel.XLChartCollection.Remove(C1.Excel.XLChart)">
          <a class="xref" href="C1.Excel.XLChartCollection.Remove.html#C1_Excel_XLChartCollection_Remove_C1_Excel_XLChart_">Remove(XLChart)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes an <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLChartCollection_RemoveAt_System_Int32_" data-uid="C1.Excel.XLChartCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Excel.XLChartCollection.RemoveAt.html#C1_Excel_XLChartCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the <a class="xref" href="C1.Excel.XLChart.html">XLChart</a> at a specific index from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
