# C1.C1Preview.Export.XlsExportProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Export_XlsExportProvider" data-uid="C1.C1Preview.Export.XlsExportProvider" class="text-break">XlsExportProvider Class
</h1>
  <div class="markdown level0 summary"><p>Describes export to XLS 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.C1Preview.Export.ExportProvider.html">ExportProvider</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.Export.ComplexExportProvider.html">ComplexExportProvider</a></div>
    <div class="level3"><span class="xref">XlsExportProvider</span></div>
      <div class="level4"><a class="xref" href="C1.C1Preview.Export.XlsxExportProvider.html">XlsxExportProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.Export.html">C1.C1Preview.Export</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_Export_XlsExportProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XlsExportProvider : ComplexExportProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XlsExportProvider
    Inherits ComplexExportProvider</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_C1Preview_Export_XlsExportProvider__ctor" data-uid="C1.C1Preview.Export.XlsExportProvider.#ctor">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.-ctor.html#C1_C1Preview_Export_XlsExportProvider__ctor">XlsExportProvider()</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_C1Preview_Export_XlsExportProvider_CanExportToStream" data-uid="C1.C1Preview.Export.XlsExportProvider.CanExportToStream">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.CanExportToStream.html#C1_C1Preview_Export_XlsExportProvider_CanExportToStream">CanExportToStream</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether export to stream is supported by the current format.
This implementation returns <b>true</b> (export to stream is supported).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_CanShowOptions" data-uid="C1.C1Preview.Export.XlsExportProvider.CanShowOptions">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.CanShowOptions.html#C1_C1Preview_Export_XlsExportProvider_CanShowOptions">CanShowOptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the associated exporter
can show a dialog allowing the user to edit the export options.
This implementation returns <b>true</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_DefaultExtension" data-uid="C1.C1Preview.Export.XlsExportProvider.DefaultExtension">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.DefaultExtension.html#C1_C1Preview_Export_XlsExportProvider_DefaultExtension">DefaultExtension</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default filename extension for the current export format.
This implementation returns &quot;xls&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_DefaultOptionsFormClass" data-uid="C1.C1Preview.Export.XlsExportProvider.DefaultOptionsFormClass">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.DefaultOptionsFormClass.html#C1_C1Preview_Export_XlsExportProvider_DefaultOptionsFormClass">DefaultOptionsFormClass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of form which is used to edit export options by default.
This implementation returns <a class="xref" href="C1.C1Preview.Export.XlsOptionsForm.html">XlsOptionsForm</a> type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_FormatName" data-uid="C1.C1Preview.Export.XlsExportProvider.FormatName">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.FormatName.html#C1_C1Preview_Export_XlsExportProvider_FormatName">FormatName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a short description of the XLS export format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_PreferredOrdinal" data-uid="C1.C1Preview.Export.XlsExportProvider.PreferredOrdinal">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.PreferredOrdinal.html#C1_C1Preview_Export_XlsExportProvider_PreferredOrdinal">PreferredOrdinal</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the preferred ordinal of the export format in &quot;save as...&quot; and similar dialogs.
This implementation returns 21.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_SupportedDocumentInfoFields" data-uid="C1.C1Preview.Export.XlsExportProvider.SupportedDocumentInfoFields">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.SupportedDocumentInfoFields.html#C1_C1Preview_Export_XlsExportProvider_SupportedDocumentInfoFields">SupportedDocumentInfoFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the combination of flags indicating which fields of the <a class="xref" href="C1.C1Preview.DocumentInfo.html">DocumentInfo</a> class
are supported by the current export format.
This implementation returns <b>Author</b>.</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_C1Preview_Export_XlsExportProvider_CanExportRange_C1_C1Preview_OutputRangeTypeEnum_" data-uid="C1.C1Preview.Export.XlsExportProvider.CanExportRange(C1.C1Preview.OutputRangeTypeEnum)">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.CanExportRange.html#C1_C1Preview_Export_XlsExportProvider_CanExportRange_C1_C1Preview_OutputRangeTypeEnum_">CanExportRange(OutputRangeTypeEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the associated exporter
can handle the specified type of document pages' range.
This implementation returns <b>true</b> (all types of ranges are supported).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XlsExportProvider_NewExporter" data-uid="C1.C1Preview.Export.XlsExportProvider.NewExporter">
          <a class="xref" href="C1.C1Preview.Export.XlsExportProvider.NewExporter.html#C1_C1Preview_Export_XlsExportProvider_NewExporter">NewExporter()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the <a class="xref" href="C1.C1Preview.Export.XlsExporter.html">XlsExporter</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.Export.XlsExporter.html">XlsExporter</a></div>
  </div>

</div>
