# FarPoint.Web.Chart.LineCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Chart_LineCollection" data-uid="FarPoint.Web.Chart.LineCollection" class="text-break">LineCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of lines.</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">LineCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="FarPoint.Web.Chart.Line.html">Line</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="FarPoint.Web.Chart.Line.html">Line</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="FarPoint.Web.Chart.Line.html">Line</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Chart.html">FarPoint.Web.Chart</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Chart.dll</h6>
  <h5 id="FarPoint_Web_Chart_LineCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LineCollection : IList, ICollection, IList&lt;Line&gt;, ICollection&lt;Line&gt;, IEnumerable&lt;Line&gt;, IEnumerable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class LineCollection
    Implements IList, ICollection, IList(Of Line), ICollection(Of Line), IEnumerable(Of Line), IEnumerable, ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection__ctor" data-uid="FarPoint.Web.Chart.LineCollection.#ctor">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.-ctor.html#FarPoint_Web_Chart_LineCollection__ctor">LineCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new collection of lines.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection__ctor_FarPoint_Web_Chart_LineCollection_" data-uid="FarPoint.Web.Chart.LineCollection.#ctor(FarPoint.Web.Chart.LineCollection)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.-ctor.html#FarPoint_Web_Chart_LineCollection__ctor_FarPoint_Web_Chart_LineCollection_">LineCollection(LineCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new collection of lines that is a copy of
the specified collection of lines.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="FarPoint_Web_Chart_LineCollection_Count" data-uid="FarPoint.Web.Chart.LineCollection.Count">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Count.html#FarPoint_Web_Chart_LineCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of lines in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Item_System_Int32_" data-uid="FarPoint.Web.Chart.LineCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Item.html#FarPoint_Web_Chart_LineCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line at the specified index.</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="FarPoint_Web_Chart_LineCollection_Add_FarPoint_Web_Chart_Line_" data-uid="FarPoint.Web.Chart.LineCollection.Add(FarPoint.Web.Chart.Line)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Add.html#FarPoint_Web_Chart_LineCollection_Add_FarPoint_Web_Chart_Line_">Add(Line)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a line to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_AddRange_FarPoint_Web_Chart_Line___" data-uid="FarPoint.Web.Chart.LineCollection.AddRange(FarPoint.Web.Chart.Line[])">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.AddRange.html#FarPoint_Web_Chart_LineCollection_AddRange_FarPoint_Web_Chart_Line___">AddRange(Line[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of lines to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Clear" data-uid="FarPoint.Web.Chart.LineCollection.Clear">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Clear.html#FarPoint_Web_Chart_LineCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all lines from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Clone" data-uid="FarPoint.Web.Chart.LineCollection.Clone">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Clone.html#FarPoint_Web_Chart_LineCollection_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new collection that is a copy of this collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Contains_FarPoint_Web_Chart_Line_" data-uid="FarPoint.Web.Chart.LineCollection.Contains(FarPoint.Web.Chart.Line)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Contains.html#FarPoint_Web_Chart_LineCollection_Contains_FarPoint_Web_Chart_Line_">Contains(Line)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific line.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_CopyTo_FarPoint_Web_Chart_Line___System_Int32_" data-uid="FarPoint.Web.Chart.LineCollection.CopyTo(FarPoint.Web.Chart.Line[],System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.CopyTo.html#FarPoint_Web_Chart_LineCollection_CopyTo_FarPoint_Web_Chart_Line___System_Int32_">CopyTo(Line[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the lines in the collection to an array,
starting at the specified array index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_GetEnumerator" data-uid="FarPoint.Web.Chart.LineCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.GetEnumerator.html#FarPoint_Web_Chart_LineCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an enumerator that iterates through the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_IndexOf_FarPoint_Web_Chart_Line_" data-uid="FarPoint.Web.Chart.LineCollection.IndexOf(FarPoint.Web.Chart.Line)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.IndexOf.html#FarPoint_Web_Chart_LineCollection_IndexOf_FarPoint_Web_Chart_Line_">IndexOf(Line)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of the line in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Insert_System_Int32_FarPoint_Web_Chart_Line_" data-uid="FarPoint.Web.Chart.LineCollection.Insert(System.Int32,FarPoint.Web.Chart.Line)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Insert.html#FarPoint_Web_Chart_LineCollection_Insert_System_Int32_FarPoint_Web_Chart_Line_">Insert(int, Line)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a line into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_InsertRange_System_Int32_FarPoint_Web_Chart_Line___" data-uid="FarPoint.Web.Chart.LineCollection.InsertRange(System.Int32,FarPoint.Web.Chart.Line[])">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.InsertRange.html#FarPoint_Web_Chart_LineCollection_InsertRange_System_Int32_FarPoint_Web_Chart_Line___">InsertRange(int, Line[])</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an array of lines into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_OnChanged_System_EventArgs_" data-uid="FarPoint.Web.Chart.LineCollection.OnChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.OnChanged.html#FarPoint_Web_Chart_LineCollection_OnChanged_System_EventArgs_">OnChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the Changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Remove_FarPoint_Web_Chart_Line_" data-uid="FarPoint.Web.Chart.LineCollection.Remove(FarPoint.Web.Chart.Line)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Remove.html#FarPoint_Web_Chart_LineCollection_Remove_FarPoint_Web_Chart_Line_">Remove(Line)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a line from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_RemoveAt_System_Int32_" data-uid="FarPoint.Web.Chart.LineCollection.RemoveAt(System.Int32)">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.RemoveAt.html#FarPoint_Web_Chart_LineCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a line from the collection at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Web_Chart_LineCollection_Changed" data-uid="FarPoint.Web.Chart.LineCollection.Changed">
          <a class="xref" href="FarPoint.Web.Chart.LineCollection.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the collection is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
