# GrapeCity.ActiveReports.PrintExtension

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_PrintExtension" data-uid="GrapeCity.ActiveReports.PrintExtension" class="text-break">PrintExtension Class
</h1>
  <div class="markdown level0 summary"><p>Provides extension methods for printing <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a> and <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.PageDocument.html">PageDocument</a> objects within the GrapeCity ActiveReports Viewer.</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">PrintExtension</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.html">GrapeCity.ActiveReports</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Common.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PrintExtension_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class PrintExtension</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PrintExtension_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class contains a collection of static methods designed to facilitate the printing process of documents created with GrapeCity ActiveReports.
It supports both section-based and page-based reports, offering various printing options such as displaying print dialogs, controlling the print
progress dialog, and executing the print job on a separate thread for enhanced performance.
The methods within this class extend the <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.SectionDocument.html">SectionDocument</a> and <a class="xref" href="../MESCIUS.ActiveReports/GrapeCity.ActiveReports.Document.PageDocument.html">PageDocument</a> types, allowing for a seamless integration of
printing capabilities directly from instances of these document types.</p>
</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="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.PageDocument)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_">Print(PageDocument)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a page-based document with default settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_GrapeCity_ActiveReports_PrinterSettings_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.PageDocument,GrapeCity.ActiveReports.PrinterSettings)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_GrapeCity_ActiveReports_PrinterSettings_">Print(PageDocument, PrinterSettings)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a page-based document using specified printer settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_GrapeCity_Viewer_Common_PrintingSettings_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.PageDocument,GrapeCity.Viewer.Common.PrintingSettings)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_GrapeCity_Viewer_Common_PrintingSettings_">Print(PageDocument, PrintingSettings)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a page-based document, allowing for detailed control over the printing settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_System_Boolean_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.PageDocument,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_System_Boolean_">Print(PageDocument, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a page-based document, optionally displaying the print dialog.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.PageDocument,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_System_Boolean_System_Boolean_">Print(PageDocument, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a page-based document, with options to display the print dialog and the print progress dialog.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_System_Boolean_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.PageDocument,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_PageDocument_System_Boolean_System_Boolean_System_Boolean_">Print(PageDocument, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a page-based document, providing options to display the print dialog, the print progress dialog,
and to execute the printing on a new thread.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.SectionDocument)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_">Print(SectionDocument)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a section-based document with default settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_GrapeCity_Viewer_Common_PrintingSettings_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.SectionDocument,GrapeCity.Viewer.Common.PrintingSettings)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_GrapeCity_Viewer_Common_PrintingSettings_">Print(SectionDocument, PrintingSettings)</a>
        </td>
        <td class="markdown level1 summary"><p>Prints the section-based document using specified printing settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_System_Boolean_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.SectionDocument,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_System_Boolean_">Print(SectionDocument, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a section-based document, with an option to display the print dialog.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.SectionDocument,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_System_Boolean_System_Boolean_">Print(SectionDocument, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a section-based document, with options to display the print dialog and the print progress dialog.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_System_Boolean_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.PrintExtension.Print(GrapeCity.ActiveReports.Document.SectionDocument,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.PrintExtension.Print.html#GrapeCity_ActiveReports_PrintExtension_Print_GrapeCity_ActiveReports_Document_SectionDocument_System_Boolean_System_Boolean_System_Boolean_">Print(SectionDocument, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initiates the printing process for a section-based document with options for displaying print dialogs and controlling the printing execution thread.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
