# GrapeCity.Documents.Excel.HtmlSaveOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_HtmlSaveOptions" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions" class="text-break">HtmlSaveOptions Class
</h1>
  <div class="markdown level0 summary"><p>Option class for saving html 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">HtmlSaveOptions</span></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_HtmlSaveOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HtmlSaveOptions : SaveOptionsBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class HtmlSaveOptions
    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_HtmlSaveOptions__ctor" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.#ctor">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.-ctor.html#GrapeCity_Documents_Excel_HtmlSaveOptions__ctor">HtmlSaveOptions()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates options for saving html file.</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_HtmlSaveOptions_AddTooltipText" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.AddTooltipText">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.AddTooltipText.html#GrapeCity_Documents_Excel_HtmlSaveOptions_AddTooltipText">AddTooltipText</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether adding tooltip text when the data can't be fully displayed.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_AttachedFilesUrlPrefix" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.AttachedFilesUrlPrefix">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.AttachedFilesUrlPrefix.html#GrapeCity_Documents_Excel_HtmlSaveOptions_AttachedFilesUrlPrefix">AttachedFilesUrlPrefix</a>
        </td>
        <td class="markdown level1 summary"><p>Specify the Url prefix of attached files such as image in the html file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_CellAttributeOptions" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.CellAttributeOptions">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.CellAttributeOptions.html#GrapeCity_Documents_Excel_HtmlSaveOptions_CellAttributeOptions">CellAttributeOptions</a>
        </td>
        <td class="markdown level1 summary"><p>Specify the options for cell element attributes when exporting to HTML.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_CellCssPrefix" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.CellCssPrefix">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.CellCssPrefix.html#GrapeCity_Documents_Excel_HtmlSaveOptions_CellCssPrefix">CellCssPrefix</a>
        </td>
        <td class="markdown level1 summary"><p>Gets and sets the prefix of the css name, the default value is null.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_CssExportType" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.CssExportType">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.CssExportType.html#GrapeCity_Documents_Excel_HtmlSaveOptions_CssExportType">CssExportType</a>
        </td>
        <td class="markdown level1 summary"><p>Specify the way in which the stylesheet (CSS) is exported.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_Encoding" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.Encoding">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.Encoding.html#GrapeCity_Documents_Excel_HtmlSaveOptions_Encoding">Encoding</a>
        </td>
        <td class="markdown level1 summary"><p>If not set, use Encoding.UTF8 as default enconding type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportArea" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportArea">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportArea.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportArea">ExportArea</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates which area would be exported to html.
This is used for exporting specific area of worksheet.
Only take effect when HtmlSaveOptions.ExportSheetName is not null.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportCssSeparately" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportCssSeparately">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportCssSeparately.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportCssSeparately">ExportCssSeparately</a>
        </td>
        <td class="markdown level1 summary"><p>Indicating whether exporting the worksheet style to css separately.
The default value is true.
When this property is set to false. Css style data is exported directly to each
worksheet and separate stylesheet.css file are not created.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportDocumentProperties" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportDocumentProperties">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportDocumentProperties.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportDocumentProperties">ExportDocumentProperties</a>
        </td>
        <td class="markdown level1 summary"><p>Indicating whether exporting document properties.
The default value is true.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportFileName" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportFileName">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportFileName.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportFileName">ExportFileName</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates the name of the html file.
Only for saving to html stream, and the default value is &quot;workbook&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportGridlines" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportGridlines">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportGridlines.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportGridlines">ExportGridlines</a>
        </td>
        <td class="markdown level1 summary"><p>Indicating whether exporting the gridlines.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportHeadings" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportHeadings">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportHeadings.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportHeadings">ExportHeadings</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether exporting headings when saving file to html.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportHiddenWorksheet" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportHiddenWorksheet">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportHiddenWorksheet.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportHiddenWorksheet">ExportHiddenWorksheet</a>
        </td>
        <td class="markdown level1 summary"><p>Indicating if exporting the hidden worksheet.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportImageAsBase64" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportImageAsBase64">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportImageAsBase64.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportImageAsBase64">ExportImageAsBase64</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether images are saved in Base64 format to html.
The default value is false.
When this property is set to true image data is exported directly on the img
elements and separate files are not created.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportSheetName" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportSheetName">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportSheetName.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportSheetName">ExportSheetName</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates which worksheet would be exported to html.
This is used for exporting specific worksheet of workbook.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_ExportSingleTab" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportSingleTab">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.ExportSingleTab.html#GrapeCity_Documents_Excel_HtmlSaveOptions_ExportSingleTab">ExportSingleTab</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether exporting the single tab when the file only has one worksheet
or ExportSheetName is set.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_IncludeAutoMergedCells" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.IncludeAutoMergedCells">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.IncludeAutoMergedCells.html#GrapeCity_Documents_Excel_HtmlSaveOptions_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_HtmlSaveOptions_IsExportComments" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.IsExportComments">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.IsExportComments.html#GrapeCity_Documents_Excel_HtmlSaveOptions_IsExportComments">IsExportComments</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates if exporting comments when saving file to html.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_IsFullPathLink" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.IsFullPathLink">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.IsFullPathLink.html#GrapeCity_Documents_Excel_HtmlSaveOptions_IsFullPathLink">IsFullPathLink</a>
        </td>
        <td class="markdown level1 summary"><p>Indicating whether using full path link in html. Only for exporting to html file.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_IsWidthScalable" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.IsWidthScalable">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.IsWidthScalable.html#GrapeCity_Documents_Excel_HtmlSaveOptions_IsWidthScalable">IsWidthScalable</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether using scalable unit to describe the column width when exporting file to html.
The default value is false.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_LinkTargetType" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.LinkTargetType">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.LinkTargetType.html#GrapeCity_Documents_Excel_HtmlSaveOptions_LinkTargetType">LinkTargetType</a>
        </td>
        <td class="markdown level1 summary"><p>Indicating the type of target attribute in &lt;a&gt; link.
The default value is <a class="xref" href="GrapeCity.Documents.Excel.HyperLinkTargetType.html#GrapeCity_Documents_Excel_HyperLinkTargetType_Blank">Blank</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_PageTitle" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.PageTitle">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.PageTitle.html#GrapeCity_Documents_Excel_HtmlSaveOptions_PageTitle">PageTitle</a>
        </td>
        <td class="markdown level1 summary"><p>The title of the html page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_HtmlSaveOptions_TableCssId" data-uid="GrapeCity.Documents.Excel.HtmlSaveOptions.TableCssId">
          <a class="xref" href="GrapeCity.Documents.Excel.HtmlSaveOptions.TableCssId.html#GrapeCity_Documents_Excel_HtmlSaveOptions_TableCssId">TableCssId</a>
        </td>
        <td class="markdown level1 summary"><p>Gets and sets the prefix of the type css name such as tr, td and so on, they
are contained in the table element which has the specific TableCssId attribute.
The default value is null.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
