# GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection

## Content

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



  <h1 id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection" class="text-break">AnnotationCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection that contains a set of annotations.</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.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">AnnotationCollection</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.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.html">GrapeCity.ActiveReports.Document.Section.Annotations</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class AnnotationCollection : CollectionBase, IList, ICollection, IEnumerable</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="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection__ctor" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.-ctor.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection__ctor">AnnotationCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of AnnotationCollecion class.</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="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_BackColor" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.BackColor">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.BackColor.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Item.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the item 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="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Add_GrapeCity_ActiveReports_Document_Section_Annotations_Annotation_" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Add(GrapeCity.ActiveReports.Document.Section.Annotations.Annotation)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Add.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Add_GrapeCity_ActiveReports_Document_Section_Annotations_Annotation_">Add(Annotation)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an annotation to the end of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_OnClearComplete" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.OnClearComplete">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.OnClearComplete.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls when clearing the contents of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance is complete.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.OnInsertComplete.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Calls after inserting a new item into the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.OnRemoveComplete.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Calls after removing a new item into the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Refresh_GrapeCity_ActiveReports_Document_Section_Annotations_Annotation_" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Refresh(GrapeCity.ActiveReports.Document.Section.Annotations.Annotation)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Refresh.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Refresh_GrapeCity_ActiveReports_Document_Section_Annotations_Annotation_">Refresh(Annotation)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the annotation display.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Remove_GrapeCity_ActiveReports_Document_Section_Annotations_Annotation_" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Remove(GrapeCity.ActiveReports.Document.Section.Annotations.Annotation)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.Remove.html#GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_Remove_GrapeCity_ActiveReports_Document_Section_Annotations_Annotation_">Remove(Annotation)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified annotation.</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="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_AnnotationAdded" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.AnnotationAdded">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.AnnotationAdded.html">AnnotationAdded</a>
        </td>
        <td class="markdown level1 summary"><p>The event occurs when annotation was just added.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_AnnotationRemoved" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.AnnotationRemoved">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.AnnotationRemoved.html">AnnotationRemoved</a>
        </td>
        <td class="markdown level1 summary"><p>The event occurs when annotation was just removed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_Annotations_AnnotationCollection_CollectionCleared" data-uid="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.CollectionCleared">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.Annotations.AnnotationCollection.CollectionCleared.html">CollectionCleared</a>
        </td>
        <td class="markdown level1 summary"><p>The event occurs when annotation was cleared.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
