# C1.Win.FlexGrid.GridPrinter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_GridPrinter" data-uid="C1.Win.FlexGrid.GridPrinter" class="text-break">GridPrinter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a class that encapsulates the control printing functionality, including page and printer
settings, headers, and footers.</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">GridPrinter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_GridPrinter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridPrinter : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridPrinter
    Implements IDisposable</code></pre>
  </div>
  <h5 id="C1_Win_FlexGrid_GridPrinter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>See also the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.PrintGrid.html#C1_Win_FlexGrid_C1FlexGridBase_PrintGrid_System_String_C1_Win_FlexGrid_PrintGridFlags_">PrintGrid(string, PrintGridFlags)</a> method.</p>
</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_Win_FlexGrid_GridPrinter_Footer" data-uid="C1.Win.FlexGrid.GridPrinter.Footer">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.Footer.html#C1_Win_FlexGrid_GridPrinter_Footer">Footer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a string that contains the page footers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_FooterFont" data-uid="C1.Win.FlexGrid.GridPrinter.FooterFont">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.FooterFont.html#C1_Win_FlexGrid_GridPrinter_FooterFont">FooterFont</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the font to use for rendering page footers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_Header" data-uid="C1.Win.FlexGrid.GridPrinter.Header">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.Header.html#C1_Win_FlexGrid_GridPrinter_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a string that contains the page headers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_HeaderFont" data-uid="C1.Win.FlexGrid.GridPrinter.HeaderFont">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.HeaderFont.html#C1_Win_FlexGrid_GridPrinter_HeaderFont">HeaderFont</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the font to use for rendering page headers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_PageCount" data-uid="C1.Win.FlexGrid.GridPrinter.PageCount">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PageCount.html#C1_Win_FlexGrid_GridPrinter_PageCount">PageCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the total number of the pages in the print document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_PageNumber" data-uid="C1.Win.FlexGrid.GridPrinter.PageNumber">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PageNumber.html#C1_Win_FlexGrid_GridPrinter_PageNumber">PageNumber</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of the page being printed (the first page is numbered one).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_PageOrder" data-uid="C1.Win.FlexGrid.GridPrinter.PageOrder">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PageOrder.html#C1_Win_FlexGrid_GridPrinter_PageOrder">PageOrder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the order of the pages when the data does not fit on one page.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_PrintDocument" data-uid="C1.Win.FlexGrid.GridPrinter.PrintDocument">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PrintDocument.html#C1_Win_FlexGrid_GridPrinter_PrintDocument">PrintDocument</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printdocument">PrintDocument</a> object that specifies page and printer settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_PrintGridFlags" data-uid="C1.Win.FlexGrid.GridPrinter.PrintGridFlags">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PrintGridFlags.html#C1_Win_FlexGrid_GridPrinter_PrintGridFlags">PrintGridFlags</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the flags that specify printing options to use with the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.PrintGrid.html#C1_Win_FlexGrid_C1FlexGridBase_PrintGrid_System_String_C1_Win_FlexGrid_PrintGridFlags_">PrintGrid(string, PrintGridFlags)</a>
method. See the <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PrintGridFlags.html#C1_Win_FlexGrid_GridPrinter_PrintGridFlags">PrintGridFlags</a> enumeration for details.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_PrintPreviewDialog" data-uid="C1.Win.FlexGrid.GridPrinter.PrintPreviewDialog">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PrintPreviewDialog.html#C1_Win_FlexGrid_GridPrinter_PrintPreviewDialog">PrintPreviewDialog</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the <a class="xref" href="C1.Win.FlexGrid.GridPrinter.PrintPreviewDialog.html#C1_Win_FlexGrid_GridPrinter_PrintPreviewDialog">PrintPreviewDialog</a> used to display the grid's print preview.</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_Win_FlexGrid_GridPrinter_Dispose" data-uid="C1.Win.FlexGrid.GridPrinter.Dispose">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.Dispose.html#C1_Win_FlexGrid_GridPrinter_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_Dispose_System_Boolean_" data-uid="C1.Win.FlexGrid.GridPrinter.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.Dispose.html#C1_Win_FlexGrid_GridPrinter_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_GridPrinter_Finalize" data-uid="C1.Win.FlexGrid.GridPrinter.Finalize">
          <a class="xref" href="C1.Win.FlexGrid.GridPrinter.Finalize.html#C1_Win_FlexGrid_GridPrinter_Finalize">~GridPrinter()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes an instance of the <a class="xref" href="C1.Win.FlexGrid.GridPrinter.html">GridPrinter</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
