# GrapeCity.ActiveReports.Core.Document.DocumentBase-1.Save

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*">Save Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_System_String_GrapeCity_ActiveReports_Document_Section_RdfFormat_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save(System.String,GrapeCity.ActiveReports.Document.Section.RdfFormat)">Save(string, RdfFormat)</h4>
<div class="markdown level1 summary"><p>Saves document to the specified file.</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(string fileName, RdfFormat fmt)</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Name of the file.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RdfFormat.html">RdfFormat</a></td>
      <td><span class="parametername">fmt</span></td>
      <td><p>The format.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_System_String_GrapeCity_ActiveReports_Document_Section_RdfFormat_GrapeCity_ActiveReports_Document_Section_SaveOptions_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save(System.String,GrapeCity.ActiveReports.Document.Section.RdfFormat,GrapeCity.ActiveReports.Document.Section.SaveOptions)">Save(string, RdfFormat, SaveOptions)</h4>
<div class="markdown level1 summary"><p>Saves document to the specified file.</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(string fileName, RdfFormat fmt, SaveOptions options)</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Name of the file.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RdfFormat.html">RdfFormat</a></td>
      <td><span class="parametername">fmt</span></td>
      <td><p>The format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SaveOptions.html">SaveOptions</a></td>
      <td><span class="parametername">options</span></td>
      <td><p>The options.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.security.securityexception">SecurityException</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_System_String_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save(System.String)">Save(string)</h4>
<div class="markdown level1 summary"><p>Saves document to the specified file.</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(string fileName)</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Name of the file.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_System_IO_Stream_GrapeCity_ActiveReports_Document_Section_RdfFormat_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save(System.IO.Stream,GrapeCity.ActiveReports.Document.Section.RdfFormat)">Save(Stream, RdfFormat)</h4>
<div class="markdown level1 summary"><p>Saves document to the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</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 stream, RdfFormat fmt)</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 stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RdfFormat.html">RdfFormat</a></td>
      <td><span class="parametername">fmt</span></td>
      <td><p>The format.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Core.Document.IDocument-1.Save.html#GrapeCity_ActiveReports_Core_Document_IDocument_1_Save_System_IO_Stream_GrapeCity_ActiveReports_Document_Section_RdfFormat_">IDocument&lt;T&gt;.Save(Stream, RdfFormat)</a></div>


<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_System_IO_Stream_GrapeCity_ActiveReports_Document_Section_RdfFormat_GrapeCity_ActiveReports_Document_Section_SaveOptions_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save(System.IO.Stream,GrapeCity.ActiveReports.Document.Section.RdfFormat,GrapeCity.ActiveReports.Document.Section.SaveOptions)">Save(Stream, RdfFormat, SaveOptions)</h4>
<div class="markdown level1 summary"><p>Saves document to the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</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 stream, RdfFormat fmt, SaveOptions options)</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 stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RdfFormat.html">RdfFormat</a></td>
      <td><span class="parametername">fmt</span></td>
      <td><p>The format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SaveOptions.html">SaveOptions</a></td>
      <td><span class="parametername">options</span></td>
      <td><p>The options.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Core.Document.IDocument-1.Save.html#GrapeCity_ActiveReports_Core_Document_IDocument_1_Save_System_IO_Stream_GrapeCity_ActiveReports_Document_Section_RdfFormat_GrapeCity_ActiveReports_Document_Section_SaveOptions_">IDocument&lt;T&gt;.Save(Stream, RdfFormat, SaveOptions)</a></div>


<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Save_System_IO_Stream_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Save(System.IO.Stream)">Save(Stream)</h4>
<div class="markdown level1 summary"><p>Saves document to the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a>.</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 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 stream.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
