# C1.C1Preview.Export.ExportUtil

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Export_ExportUtil" data-uid="C1.C1Preview.Export.ExportUtil" class="text-break">ExportUtil Class
</h1>
  <div class="markdown level0 summary"><p>Provides static utility methods for export and printing.</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">ExportUtil</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.Export.html">C1.C1Preview.Export</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_Export_ExportUtil_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ExportUtil</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module ExportUtil</code></pre>
  </div>
  <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_Export_ExportUtil_GetMaxPageNumber_System_Object_" data-uid="C1.C1Preview.Export.ExportUtil.GetMaxPageNumber(System.Object)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetMaxPageNumber.html#C1_C1Preview_Export_ExportUtil_GetMaxPageNumber_System_Object_">GetMaxPageNumber(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the maximum valid physical page number (1-based index) for the specified document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_GetMaxPageNumber_System_Object_System_Int32_" data-uid="C1.C1Preview.Export.ExportUtil.GetMaxPageNumber(System.Object,System.Int32)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetMaxPageNumber.html#C1_C1Preview_Export_ExportUtil_GetMaxPageNumber_System_Object_System_Int32_">GetMaxPageNumber(object, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the maximum valid physical page number (1-based index) for the specified document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_GetMinPageNumber_System_Object_" data-uid="C1.C1Preview.Export.ExportUtil.GetMinPageNumber(System.Object)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetMinPageNumber.html#C1_C1Preview_Export_ExportUtil_GetMinPageNumber_System_Object_">GetMinPageNumber(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the minimum page number for the specified document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_GetPageMetafile_C1_C1Preview_C1PrintDocument_System_Int32_" data-uid="C1.C1Preview.Export.ExportUtil.GetPageMetafile(C1.C1Preview.C1PrintDocument,System.Int32)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetPageMetafile.html#C1_C1Preview_Export_ExportUtil_GetPageMetafile_C1_C1Preview_C1PrintDocument_System_Int32_">GetPageMetafile(C1PrintDocument, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the page metafile for export or printing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_GetPageMetafile_C1_C1Preview_IC1Document_System_Int32_C1_C1Preview_PageDrawParams_" data-uid="C1.C1Preview.Export.ExportUtil.GetPageMetafile(C1.C1Preview.IC1Document,System.Int32,C1.C1Preview.PageDrawParams)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetPageMetafile.html#C1_C1Preview_Export_ExportUtil_GetPageMetafile_C1_C1Preview_IC1Document_System_Int32_C1_C1Preview_PageDrawParams_">GetPageMetafile(IC1Document, int, PageDrawParams)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the page metafile for export or printing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_GetPageMetafile_System_Int32_System_Collections_IList_System_Object_C1_C1Preview_PageDrawParams_" data-uid="C1.C1Preview.Export.ExportUtil.GetPageMetafile(System.Int32,System.Collections.IList,System.Object,C1.C1Preview.PageDrawParams)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetPageMetafile.html#C1_C1Preview_Export_ExportUtil_GetPageMetafile_System_Int32_System_Collections_IList_System_Object_C1_C1Preview_PageDrawParams_">GetPageMetafile(int, IList, object, PageDrawParams)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the page metafile for export or printing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_GetPages_System_Object_System_Int32__" data-uid="C1.C1Preview.Export.ExportUtil.GetPages(System.Object,System.Int32@)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.GetPages.html#C1_C1Preview_Export_ExportUtil_GetPages_System_Object_System_Int32__">GetPages(object, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of page images representing the document, or null
if the document is a C1Preview.</p>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.PageExists.html#C1_C1Preview_Export_ExportUtil_PageExists_System_Int32_System_Collections_IList_System_Object_">PageExists(int, IList, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether the page with the specified number exists in the document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_PageIndexToPageNumber_System_Int32_System_Object_" data-uid="C1.C1Preview.Export.ExportUtil.PageIndexToPageNumber(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.PageIndexToPageNumber.html#C1_C1Preview_Export_ExportUtil_PageIndexToPageNumber_System_Int32_System_Object_">PageIndexToPageNumber(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a 0-based page index to the logical 1-based page number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_ExportUtil_PageIndicesToPageNumbers_System_Int32___System_Object_" data-uid="C1.C1Preview.Export.ExportUtil.PageIndicesToPageNumbers(System.Int32[],System.Object)">
          <a class="xref" href="C1.C1Preview.Export.ExportUtil.PageIndicesToPageNumbers.html#C1_C1Preview_Export_ExportUtil_PageIndicesToPageNumbers_System_Int32___System_Object_">PageIndicesToPageNumbers(int[], object)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an array of 0-based physical page indices to an array
of 1-based logical page numbers.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
