# GrapeCity.Documents.Excel.XlsxSaveOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_XlsxSaveOptions" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions" class="text-break">XlsxSaveOptions Class
</h1>
  <div class="markdown level0 summary"><p>Option class for saving xlsx file.</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="GrapeCity.Documents.Excel.SaveOptionsBase.html">SaveOptionsBase</a></div>
    <div class="level2"><span class="xref">XlsxSaveOptions</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Excel.XlsmSaveOptions.html">XlsmSaveOptions</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Excel.XltxSaveOptions.html">XltxSaveOptions</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_XlsxSaveOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XlsxSaveOptions : SaveOptionsBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XlsxSaveOptions
    Inherits SaveOptionsBase</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="GrapeCity_Documents_Excel_XlsxSaveOptions__ctor" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.#ctor">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.-ctor.html#GrapeCity_Documents_Excel_XlsxSaveOptions__ctor">XlsxSaveOptions()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor.</p>
</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="GrapeCity_Documents_Excel_XlsxSaveOptions_ExcludeEmptyRegionCells" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.ExcludeEmptyRegionCells">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.ExcludeEmptyRegionCells.html#GrapeCity_Documents_Excel_XlsxSaveOptions_ExcludeEmptyRegionCells">ExcludeEmptyRegionCells</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to exclude any empty cells(cells with no data or only style) outside the used data range.
Default is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_ExcludeUnusedNames" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.ExcludeUnusedNames">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.ExcludeUnusedNames.html#GrapeCity_Documents_Excel_XlsxSaveOptions_ExcludeUnusedNames">ExcludeUnusedNames</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to exclude user-defined but never used Define name.
Default is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_ExcludeUnusedStyles" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.ExcludeUnusedStyles">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.ExcludeUnusedStyles.html#GrapeCity_Documents_Excel_XlsxSaveOptions_ExcludeUnusedStyles">ExcludeUnusedStyles</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to exclude user-defined but never used Cell styles.
Default is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_ExportSharedFormula" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.ExportSharedFormula">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.ExportSharedFormula.html#GrapeCity_Documents_Excel_XlsxSaveOptions_ExportSharedFormula">ExportSharedFormula</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to export shared formulas when saving the workbook. The default value is true.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_IgnoreFormulas" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.IgnoreFormulas">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.IgnoreFormulas.html#GrapeCity_Documents_Excel_XlsxSaveOptions_IgnoreFormulas">IgnoreFormulas</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to treat formula cells as value cells.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_IncludeAutoMergedCells" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.IncludeAutoMergedCells">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.IncludeAutoMergedCells.html#GrapeCity_Documents_Excel_XlsxSaveOptions_IncludeAutoMergedCells">IncludeAutoMergedCells</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether to include the automatically merged cells. The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_IncludeBindingSource" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.IncludeBindingSource">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.IncludeBindingSource.html#GrapeCity_Documents_Excel_XlsxSaveOptions_IncludeBindingSource">IncludeBindingSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to include the binding source when saving the file. Default value is true.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_IsCompactMode" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.IsCompactMode">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.IsCompactMode.html#GrapeCity_Documents_Excel_XlsxSaveOptions_IsCompactMode">IsCompactMode</a>
        </td>
        <td class="markdown level1 summary"><p>A bool indicating whether to save workbook in compact mode, the default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_XlsxSaveOptions_Password" data-uid="GrapeCity.Documents.Excel.XlsxSaveOptions.Password">
          <a class="xref" href="GrapeCity.Documents.Excel.XlsxSaveOptions.Password.html#GrapeCity_Documents_Excel_XlsxSaveOptions_Password">Password</a>
        </td>
        <td class="markdown level1 summary"><p>The password for the xlsx file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
