# C1.C1Preview.OutputRange.Enumerator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_OutputRange_Enumerator" data-uid="C1.C1Preview.OutputRange.Enumerator" class="text-break">OutputRange.Enumerator Class
</h1>
  <div class="markdown level0 summary"><p>Allows to enumerate all pages in the range.
Note: It is the client reesponsibility to take steps
to avoid infinite loops if the OutputRange
was created without specifying a valid MaxPageNumber.</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">OutputRange.Enumerator</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerator">IEnumerator</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_OutputRange_Enumerator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OutputRange.Enumerator : IEnumerator</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OutputRange.Enumerator
    Implements IEnumerator</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_OutputRange_Enumerator__ctor_C1_C1Preview_OutputRange_" data-uid="C1.C1Preview.OutputRange.Enumerator.#ctor(C1.C1Preview.OutputRange)">
          <a class="xref" href="C1.C1Preview.OutputRange.Enumerator.-ctor.html#C1_C1Preview_OutputRange_Enumerator__ctor_C1_C1Preview_OutputRange_">Enumerator(OutputRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the OutputRange enumerator.</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="C1_C1Preview_OutputRange_Enumerator_Current" data-uid="C1.C1Preview.OutputRange.Enumerator.Current">
          <a class="xref" href="C1.C1Preview.OutputRange.Enumerator.Current.html#C1_C1Preview_OutputRange_Enumerator_Current">Current</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current page number.</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_OutputRange_Enumerator_MoveNext" data-uid="C1.C1Preview.OutputRange.Enumerator.MoveNext">
          <a class="xref" href="C1.C1Preview.OutputRange.Enumerator.MoveNext.html#C1_C1Preview_OutputRange_Enumerator_MoveNext">MoveNext()</a>
        </td>
        <td class="markdown level1 summary"><p>Moves to the next page number in the range.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_OutputRange_Enumerator_Reset" data-uid="C1.C1Preview.OutputRange.Enumerator.Reset">
          <a class="xref" href="C1.C1Preview.OutputRange.Enumerator.Reset.html#C1_C1Preview_OutputRange_Enumerator_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the enumerator.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
