# C1.Win.List.PrintInfo.PrintToStream

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_List_PrintInfo_PrintToStream_" data-uid="C1.Win.List.PrintInfo.PrintToStream*">PrintToStream Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_List_PrintInfo_PrintToStream_" data-uid="C1.Win.List.PrintInfo.PrintToStream*"></a>
<h4 id="C1_Win_List_PrintInfo_PrintToStream" data-uid="C1.Win.List.PrintInfo.PrintToStream">PrintToStream()</h4>
<div class="markdown level1 summary"><p>Saves the current grid to a memory stream in <b>C1D</b>
(native <b>C1PrintDocument</b>) format.</p>
<p>
The stream's <b>Position</b> is set to 0 when the method returns.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Stream PrintToStream()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function PrintToStream() As Stream</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.io.stream">Stream</a></td>
      <td><p>The stream containing the saved grid.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
