# GrapeCity.ActiveReports.Rendering.IO.Mht.MhtStreamProvider.Finish

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_IO_Mht_MhtStreamProvider_Finish_" data-uid="GrapeCity.ActiveReports.Rendering.IO.Mht.MhtStreamProvider.Finish*">Finish Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_IO_Mht_MhtStreamProvider_Finish_" data-uid="GrapeCity.ActiveReports.Rendering.IO.Mht.MhtStreamProvider.Finish*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_IO_Mht_MhtStreamProvider_Finish_GrapeCity_ActiveReports_Extensibility_Rendering_IO_StreamProvider_System_String_System_String_" data-uid="GrapeCity.ActiveReports.Rendering.IO.Mht.MhtStreamProvider.Finish(GrapeCity.ActiveReports.Extensibility.Rendering.IO.StreamProvider,System.String,System.String)">Finish(StreamProvider, string, string)</h4>
<div class="markdown level1 summary"><p>Combines all the mime parts of the primary and secondary streams into the <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.IO.StreamProvider.html">StreamProvider</a> provided by the customer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Finish(StreamProvider streamProvider, string mimeType = &quot;message/rfc822&quot;, string fileExtension = &quot;mht&quot;)</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="GrapeCity.ActiveReports.Extensibility.Rendering.IO.StreamProvider.html">StreamProvider</a></td>
      <td><span class="parametername">streamProvider</span></td>
      <td><p>The customers <a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.IO.StreamProvider.html">StreamProvider</a> to create the mht output file in.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">mimeType</span></td>
      <td><p>Mime type to set for the stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">fileExtension</span></td>
      <td><p>Suggested file extension to set for the stream.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
