# GrapeCity.ActiveReports.Document.Section.CanvasItemCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection" class="text-break">CanvasItemCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of canvas elements.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1">Collection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</a>&gt;</div>
    <div class="level2"><span class="xref">CanvasItemCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</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="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</a>&gt;</div>
    <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.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</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="GrapeCity.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</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.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Document.Section.html">GrapeCity.ActiveReports.Document.Section</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class CanvasItemCollection : Collection&lt;CanvasItem&gt;, IList&lt;CanvasItem&gt;, ICollection&lt;CanvasItem&gt;, IList, ICollection, IReadOnlyList&lt;CanvasItem&gt;, IReadOnlyCollection&lt;CanvasItem&gt;, IEnumerable&lt;CanvasItem&gt;, IEnumerable, IDisposable</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="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_Page" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.Page">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.Page.html#GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_Page">Page</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the page.</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="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_Dispose" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.Dispose.html#GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_GetReadOnlyList" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.GetReadOnlyList">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.GetReadOnlyList.html#GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_GetReadOnlyList">GetReadOnlyList()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a read-only list of canvas elements.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_InsertItem_System_Int32_GrapeCity_ActiveReports_Document_Section_CanvasItem_" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.InsertItem(System.Int32,GrapeCity.ActiveReports.Document.Section.CanvasItem)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.InsertItem.html#GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_InsertItem_System_Int32_GrapeCity_ActiveReports_Document_Section_CanvasItem_">InsertItem(int, CanvasItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item to the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_SetItem_System_Int32_GrapeCity_ActiveReports_Document_Section_CanvasItem_" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.SetItem(System.Int32,GrapeCity.ActiveReports.Document.Section.CanvasItem)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItemCollection.SetItem.html#GrapeCity_ActiveReports_Document_Section_CanvasItemCollection_SetItem_System_Int32_GrapeCity_ActiveReports_Document_Section_CanvasItem_">SetItem(int, CanvasItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Replaces an item in the collection at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
