# C1.C1Preview.Export.ExportUtil.PageExists

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_Export_ExportUtil_PageExists_" data-uid="C1.C1Preview.Export.ExportUtil.PageExists*">PageExists Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_Export_ExportUtil_PageExists_" data-uid="C1.C1Preview.Export.ExportUtil.PageExists*"></a>
<h4 id="C1_C1Preview_Export_ExportUtil_PageExists_System_Int32_System_Collections_IList_System_Object_" data-uid="C1.C1Preview.Export.ExportUtil.PageExists(System.Int32,System.Collections.IList,System.Object)">PageExists(int, IList, object)</h4>
<div class="markdown level1 summary"><p>Tests whether the page with the specified number exists in the document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool PageExists(int pageNo, IList pages, object document)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function PageExists(pageNo As Integer, pages As IList, document As Object) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">pageNo</span></td>
      <td><p>The physical page number (1-based index).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></td>
      <td><span class="parametername">pages</span></td>
      <td><p>The list of page images or null.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The document or null.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if the page exists, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
