# C1.Win.FlexGrid.PrintDocumentGridRenderer.PrintPage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_FlexGrid_PrintDocumentGridRenderer_PrintPage_" data-uid="C1.Win.FlexGrid.PrintDocumentGridRenderer.PrintPage*">PrintPage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_FlexGrid_PrintDocumentGridRenderer_PrintPage_" data-uid="C1.Win.FlexGrid.PrintDocumentGridRenderer.PrintPage*"></a>
<h4 id="C1_Win_FlexGrid_PrintDocumentGridRenderer_PrintPage_System_Drawing_Printing_PrintPageEventArgs_System_Boolean_" data-uid="C1.Win.FlexGrid.PrintDocumentGridRenderer.PrintPage(System.Drawing.Printing.PrintPageEventArgs,System.Boolean)">PrintPage(PrintPageEventArgs, bool)</h4>
<div class="markdown level1 summary"><p>Renders the current page into 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 void PrintPage(PrintPageEventArgs e, bool isPreview = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub PrintPage(e As PrintPageEventArgs, Optional isPreview As Boolean = False)</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.drawing.printing.printpageeventargs">PrintPageEventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printpageeventargs">PrintPageEventArgs</a> that provides parameters for rendering the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isPreview</span></td>
      <td><p>Printing in preview window.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_FlexGrid_PrintDocumentGridRenderer_PrintPage_" data-uid="C1.Win.FlexGrid.PrintDocumentGridRenderer.PrintPage*"></a>
<h4 id="C1_Win_FlexGrid_PrintDocumentGridRenderer_PrintPage_System_Drawing_Printing_PrintPageEventArgs_System_Int32_System_Boolean_" data-uid="C1.Win.FlexGrid.PrintDocumentGridRenderer.PrintPage(System.Drawing.Printing.PrintPageEventArgs,System.Int32,System.Boolean)">PrintPage(PrintPageEventArgs, int, bool)</h4>
<div class="markdown level1 summary"><p>Renders a specific page into 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 void PrintPage(PrintPageEventArgs e, int pageIndex, bool isPreview = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub PrintPage(e As PrintPageEventArgs, pageIndex As Integer, Optional isPreview As Boolean = False)</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.drawing.printing.printpageeventargs">PrintPageEventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.printpageeventargs">PrintPageEventArgs</a> that provides parameters for rendering the page.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">pageIndex</span></td>
      <td><p>Index of the page to print.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isPreview</span></td>
      <td><p>Printing in preview window.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_FlexGrid_PrintDocumentGridRenderer_PrintPage_System_Drawing_Printing_PrintPageEventArgs_System_Int32_System_Boolean__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method is used to render specific ranges of pages within the document.</p>
</div>
</div>
