# C1.C1Preview.C1PageCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_C1PageCollection" data-uid="C1.C1Preview.C1PageCollection" class="text-break">C1PageCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a> objects in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</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"><a class="xref" href="C1.C1Preview.Util.FastList.html">FastList</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.OwnedFastListBase.html">OwnedFastListBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.OwnedFastList.html">OwnedFastList</a></div>
    <div class="level4"><span class="xref">C1PageCollection</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_C1PageCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1PageCollection : OwnedFastList, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1PageCollection
    Inherits OwnedFastList
    Implements IList, ICollection, 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_C1Preview_C1PageCollection_Count" data-uid="C1.C1Preview.C1PageCollection.Count">
          <a class="xref" href="C1.C1Preview.C1PageCollection.Count.html#C1_C1Preview_C1PageCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the count of elements in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_Document" data-uid="C1.C1Preview.C1PageCollection.Document">
          <a class="xref" href="C1.C1Preview.C1PageCollection.Document.html#C1_C1Preview_C1PageCollection_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> containing the current page collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_Item_System_Int32_" data-uid="C1.C1Preview.C1PageCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.C1PageCollection.Item.html#C1_C1Preview_C1PageCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_MaxPageNo" data-uid="C1.C1Preview.C1PageCollection.MaxPageNo">
          <a class="xref" href="C1.C1Preview.C1PageCollection.MaxPageNo.html#C1_C1Preview_C1PageCollection_MaxPageNo">MaxPageNo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the maximum logical page number in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_MaxPageX" data-uid="C1.C1Preview.C1PageCollection.MaxPageX">
          <a class="xref" href="C1.C1Preview.C1PageCollection.MaxPageX.html#C1_C1Preview_C1PageCollection_MaxPageX">MaxPageX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the maximum logical horizontal page coordinate in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_MaxPageY" data-uid="C1.C1Preview.C1PageCollection.MaxPageY">
          <a class="xref" href="C1.C1Preview.C1PageCollection.MaxPageY.html#C1_C1Preview_C1PageCollection_MaxPageY">MaxPageY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the maximum logical vertical page coordinate in the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_MinPageNo" data-uid="C1.C1Preview.C1PageCollection.MinPageNo">
          <a class="xref" href="C1.C1Preview.C1PageCollection.MinPageNo.html#C1_C1Preview_C1PageCollection_MinPageNo">MinPageNo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the minimum logical page number in the current 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_C1Preview_C1PageCollection_Find_System_Int32_" data-uid="C1.C1Preview.C1PageCollection.Find(System.Int32)">
          <a class="xref" href="C1.C1Preview.C1PageCollection.Find.html#C1_C1Preview_C1PageCollection_Find_System_Int32_">Find(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches the current collection for a <a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a>
with the specified logical page number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_Find_System_Int32_System_Int32_" data-uid="C1.C1Preview.C1PageCollection.Find(System.Int32,System.Int32)">
          <a class="xref" href="C1.C1Preview.C1PageCollection.Find.html#C1_C1Preview_C1PageCollection_Find_System_Int32_System_Int32_">Find(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches the current collection for a <a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a>
with the specified logical coordinates
(identified by the <a class="xref" href="C1.C1Preview.C1Page.X.html#C1_C1Preview_C1Page_X">X</a> and <a class="xref" href="C1.C1Preview.C1Page.Y.html#C1_C1Preview_C1Page_Y">Y</a> properties
on a page).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="C1.C1Preview.C1PageCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.C1PageCollection.OnRemoveComplete.html#C1_C1Preview_C1PageCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Called after an item has been removed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PageCollection_RemoveAt_System_Int32_" data-uid="C1.C1Preview.C1PageCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.C1Preview.C1PageCollection.RemoveAt.html#C1_C1Preview_C1PageCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the page with specified index from collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
