# C1.Win.List.PrintInfo.Print

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_PrintInfo_Print_" data-uid="C1.Win.List.PrintInfo.Print*">Print Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_PrintInfo_Print_" data-uid="C1.Win.List.PrintInfo.Print*"></a>
<h4 id="C1_Win_List_PrintInfo_Print" data-uid="C1.Win.List.PrintInfo.Print">Print()</h4>
<div class="markdown level1 summary"><p>Prints the grid.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print()</code></pre>
</div>


<a id="C1_Win_List_PrintInfo_Print_" data-uid="C1.Win.List.PrintInfo.Print*"></a>
<h4 id="C1_Win_List_PrintInfo_Print_System_Drawing_Printing_PrinterSettings_" data-uid="C1.Win.List.PrintInfo.Print(System.Drawing.Printing.PrinterSettings)">Print(PrinterSettings)</h4>
<div class="markdown level1 summary"><p>Prints the grid.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print(PrinterSettings printerSettings)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print(printerSettings As PrinterSettings)</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.printersettings">PrinterSettings</a></td>
      <td><span class="parametername">printerSettings</span></td>
      <td><p>Specifies the printer settings (including the printer) to use.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_List_PrintInfo_Print_" data-uid="C1.Win.List.PrintInfo.Print*"></a>
<h4 id="C1_Win_List_PrintInfo_Print_System_IO_Stream_" data-uid="C1.Win.List.PrintInfo.Print(System.IO.Stream)">Print(Stream)</h4>
<div class="markdown level1 summary"><p>Saves the current grid to a stream in <b>C1D</b>
(native <b>C1PrintDocument</b>) format.</p>
<p>
Note that unlike most other print/export methods, this method
does not require <b>C1Report</b> assemblies.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Print(Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Print(stream As Stream)</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The output stream.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Win_List_PrintInfo_Print_System_IO_Stream__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
The stream's <b>Position</b> is set to 0 when the method returns.
</p>
<p>This method does not show progress dialog
(ignoring <a class="xref" href="C1.Win.List.PrintInfo.ShowProgressForm.html#C1_Win_List_PrintInfo_ShowProgressForm">ShowProgressForm</a> property).
</p>
</div>
</div>
