# C1.Win.FlexGrid.C1FlexGridBase.PrintPage

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="C1_Win_FlexGrid_C1FlexGridBase_PrintPage" data-uid="C1.Win.FlexGrid.C1FlexGridBase.PrintPage" class="text-break">PrintPage Event
</h1>
<div class="markdown level0 summary"><p>Fires after the grid finishes printing a page.</p>
</div>
<div class="markdown level0 conceptual"></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_C1FlexGridBase_PrintPage_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event PrintPageEventHandler PrintPage</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event PrintPage As PrintPageEventHandler</code></pre>
</div>
<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.drawing.printing.printpageeventhandler">PrintPageEventHandler</a></td>
      <td>Fires after the grid finishes printing a page.</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_C1FlexGridBase_PrintPage_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This event is typically used to provide feedback while printing the grid,
and to offer the user a cancel button that can be used to stop the printing process.
You can also use this event to add custom elements to the printed pages.</p>
<p>Use 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 to print the grid and specify the document name, 
common printing options, headers and footers.</p>
<p>Use the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.PrintParameters.html#C1_Win_FlexGrid_C1FlexGridBase_PrintParameters">PrintParameters</a> property to specify less common printing options 
such as header and footer fonts, page margins, orientation, and so on.</p>
</div>
</div>
