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

## Content

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



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



<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Dispose_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Dispose*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Dispose" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Dispose">Dispose()</h4>
<div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.
If you call dispose on this level that means that you are
not suppose to use anything that is contained below this
level.  That means no pages, no fonts, etc.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
</div>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable.dispose">IDisposable.Dispose()</a></div>


<a id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Dispose_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Dispose*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Document_DocumentBase_1_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.Core.Document.DocumentBase`1.Dispose(System.Boolean)">Dispose(bool)</h4>
<div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</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.boolean">bool</a></td>
      <td><span class="parametername">disposing</span></td>
      <td><p>Determines whether disposing is currently in progress.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
