# C1.C1Preview.C1AnchorCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_C1AnchorCollection" data-uid="C1.C1Preview.C1AnchorCollection" class="text-break">C1AnchorCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> objects.</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">C1AnchorCollection</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="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.10.dll</h6>
  <h5 id="C1_C1Preview_C1AnchorCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1AnchorCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1AnchorCollection
    Inherits CollectionBase
    Implements 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="C1_C1Preview_C1AnchorCollection__ctor" data-uid="C1.C1Preview.C1AnchorCollection.#ctor">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.-ctor.html#C1_C1Preview_C1AnchorCollection__ctor">C1AnchorCollection()</a>
        </td>
        <td class="markdown level1 summary"></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="C1_C1Preview_C1AnchorCollection_Item_System_Int32_" data-uid="C1.C1Preview.C1AnchorCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.Item.html#C1_C1Preview_C1AnchorCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> 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="C1_C1Preview_C1AnchorCollection_Add_C1_C1Preview_C1Anchor_" data-uid="C1.C1Preview.C1AnchorCollection.Add(C1.C1Preview.C1Anchor)">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.Add.html#C1_C1Preview_C1AnchorCollection_Add_C1_C1Preview_C1Anchor_">Add(C1Anchor)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> to the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorCollection_FindByName_System_String_" data-uid="C1.C1Preview.C1AnchorCollection.FindByName(System.String)">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.FindByName.html#C1_C1Preview_C1AnchorCollection_FindByName_System_String_">FindByName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for an anchor with the specified name in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorCollection_IndexOf_C1_C1Preview_C1Anchor_" data-uid="C1.C1Preview.C1AnchorCollection.IndexOf(C1.C1Preview.C1Anchor)">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.IndexOf.html#C1_C1Preview_C1AnchorCollection_IndexOf_C1_C1Preview_C1Anchor_">IndexOf(C1Anchor)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of a <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorCollection_Insert_System_Int32_C1_C1Preview_C1Anchor_" data-uid="C1.C1Preview.C1AnchorCollection.Insert(System.Int32,C1.C1Preview.C1Anchor)">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.Insert.html#C1_C1Preview_C1AnchorCollection_Insert_System_Int32_C1_C1Preview_C1Anchor_">Insert(int, C1Anchor)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> into the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorCollection_Remove_C1_C1Preview_C1Anchor_" data-uid="C1.C1Preview.C1AnchorCollection.Remove(C1.C1Preview.C1Anchor)">
          <a class="xref" href="C1.C1Preview.C1AnchorCollection.Remove.html#C1_C1Preview_C1AnchorCollection_Remove_C1_C1Preview_C1Anchor_">Remove(C1Anchor)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a> from the current collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
