# C1.Document.Export.Ssrs.MhtmlExporter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_Export_Ssrs_MhtmlExporter" data-uid="C1.Document.Export.Ssrs.MhtmlExporter" class="text-break">MhtmlExporter Class
</h1>
  <div class="markdown level0 summary"><p>Represents an object that can be used to export a SSRS report to Web archive (MHTML) format.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Document.Export.ExportFilter.html">ExportFilter</a></div>
    <div class="level2"><a class="xref" href="C1.Document.Export.Ssrs.Exporter.html">Exporter</a></div>
    <div class="level3"><span class="xref">MhtmlExporter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.Export.Ssrs.html">C1.Document.Export.Ssrs</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_Export_Ssrs_MhtmlExporter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MhtmlExporter : Exporter, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MhtmlExporter
    Inherits Exporter
    Implements IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Export_Ssrs_MhtmlExporter__ctor" data-uid="C1.Document.Export.Ssrs.MhtmlExporter.#ctor">
          <a class="xref" href="C1.Document.Export.Ssrs.MhtmlExporter.-ctor.html#C1_Document_Export_Ssrs_MhtmlExporter__ctor">MhtmlExporter()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Export_Ssrs_MhtmlExporter_ExportProvider" data-uid="C1.Document.Export.Ssrs.MhtmlExporter.ExportProvider">
          <a class="xref" href="C1.Document.Export.Ssrs.MhtmlExporter.ExportProvider.html#C1_Document_Export_Ssrs_MhtmlExporter_ExportProvider">ExportProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an instance of a class derived from <a class="xref" href="C1.Document.Export.ExportFilter.ExportProvider.html#C1_Document_Export_ExportFilter_ExportProvider">ExportProvider</a>
describing the export format associated with the current exporter.
That instance can be used to retrieve static information about the current export format
such as format description or default extension.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_MhtmlExporter_OutlookCompat" data-uid="C1.Document.Export.Ssrs.MhtmlExporter.OutlookCompat">
          <a class="xref" href="C1.Document.Export.Ssrs.MhtmlExporter.OutlookCompat.html#C1_Document_Export_Ssrs_MhtmlExporter_OutlookCompat">OutlookCompat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to render with extra metadata that makes the report look
better in Outlook.
The default value is true.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Export_Ssrs_MhtmlExporter_CanExportRange_C1_Document_OutputRangeType_" data-uid="C1.Document.Export.Ssrs.MhtmlExporter.CanExportRange(C1.Document.OutputRangeType)">
          <a class="xref" href="C1.Document.Export.Ssrs.MhtmlExporter.CanExportRange.html#C1_Document_Export_Ssrs_MhtmlExporter_CanExportRange_C1_Document_OutputRangeType_">CanExportRange(OutputRangeType)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether the specified type of range can be exported by the current exporter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_MhtmlExporter_GetDevInfo" data-uid="C1.Document.Export.Ssrs.MhtmlExporter.GetDevInfo">
          <a class="xref" href="C1.Document.Export.Ssrs.MhtmlExporter.GetDevInfo.html#C1_Document_Export_Ssrs_MhtmlExporter_GetDevInfo">GetDevInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns DeviceInfo string for SSRS.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Export_Ssrs_MhtmlExporter_GetFormat" data-uid="C1.Document.Export.Ssrs.MhtmlExporter.GetFormat">
          <a class="xref" href="C1.Document.Export.Ssrs.MhtmlExporter.GetFormat.html#C1_Document_Export_Ssrs_MhtmlExporter_GetFormat">GetFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns format identifier for SSRS.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
