# GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot_Save_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save*">Save Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot_Save_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot_Save_System_IO_Stream_System_Boolean_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save(System.IO.Stream,System.Boolean)">Save(Stream, bool)</h4>
<div class="markdown level1 summary"><p>Saves the report snapshot to the specified output stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Save(Stream output, bool isInteractive = 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.io.stream">Stream</a></td>
      <td><span class="parametername">output</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> object to which the report snapshot will be written.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isInteractive</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value indicating report has interactive items like slicers, user sorts and etc.
If <code>true</code>, the data aggregate tree is preserved for interactive items and written to the stream;
if <code>false</code>, the data aggregate tree is reset and excluded from the output. The default value is <code>false</code>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot_Save_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot_Save_System_IO_Stream_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.Save(System.IO.Stream,System.Boolean,System.Boolean)">Save(Stream, bool, bool)</h4>
<div class="markdown level1 summary"><p>Saves the report snapshot to the specified output stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Save(Stream output, bool isInteractive, bool formatted)</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">output</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> object to which the report snapshot will be written.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isInteractive</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value indicating report has interactive items like slicers, user sorts and etc.
If <code>true</code>, the data aggregate tree is preserved for interactive items and written to the stream;
if <code>false</code>, the data aggregate tree is reset and excluded from the output.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">formatted</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value indicating whether the JSON should be formatted for readability.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
