# FarPoint.Win.Spread.SheetView.SaveHtmlRange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange*">SaveHtmlRange Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_String_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.String)">SaveHtmlRange(int, int, int, int, bool, bool, string)</h4>
<div class="markdown level1 summary"><p>Saves the specified range in the sheet to the specified file in HTML.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SaveHtmlRange(int row, int column, int rowCount, int columnCount, bool rowHeaders, bool columnHeaders, string filename)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SaveHtmlRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, rowHeaders As Boolean, columnHeaders As Boolean, filename As String)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Starting row index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Starting column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">rowHeaders</span></td>
      <td><p>True to include row headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnHeaders</span></td>
      <td><p>True to include column headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filename</span></td>
      <td><p>Path and file name</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_String_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.String)">SaveHtmlRange(int, int, int, int, bool, bool, bool, string)</h4>
<div class="markdown level1 summary"><p>Saves the specified range in the sheet to the specified file in HTML.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SaveHtmlRange(int row, int column, int rowCount, int columnCount, bool rowHeaders, bool columnHeaders, bool columnFooter, string filename)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SaveHtmlRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, rowHeaders As Boolean, columnHeaders As Boolean, columnFooter As Boolean, filename As String)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Starting row index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Starting column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">rowHeaders</span></td>
      <td><p>True to include row headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnHeaders</span></td>
      <td><p>True to include column headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnFooter</span></td>
      <td><p>True to include column footer</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">filename</span></td>
      <td><p>Path and file name</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_IO_Stream_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.IO.Stream)">SaveHtmlRange(int, int, int, int, bool, bool, Stream)</h4>
<div class="markdown level1 summary"><p>Saves the specified range in the sheet to the specified stream in HTML.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SaveHtmlRange(int row, int column, int rowCount, int columnCount, bool rowHeaders, bool columnHeaders, Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SaveHtmlRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, rowHeaders As Boolean, columnHeaders As Boolean, stream As Stream)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Starting row index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Starting column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">rowHeaders</span></td>
      <td><p>True to include row headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnHeaders</span></td>
      <td><p>True to include column headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to which to save the text of the range</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange*"></a>
<h4 id="FarPoint_Win_Spread_SheetView_SaveHtmlRange_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_IO_Stream_" data-uid="FarPoint.Win.Spread.SheetView.SaveHtmlRange(System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.IO.Stream)">SaveHtmlRange(int, int, int, int, bool, bool, bool, Stream)</h4>
<div class="markdown level1 summary"><p>Saves the specified range in the sheet to the specified stream in HTML.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SaveHtmlRange(int row, int column, int rowCount, int columnCount, bool rowHeaders, bool columnHeaders, bool columnFooter, Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SaveHtmlRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, rowHeaders As Boolean, columnHeaders As Boolean, columnFooter As Boolean, stream As Stream)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Starting row index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Starting column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">rowHeaders</span></td>
      <td><p>True to include row headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnHeaders</span></td>
      <td><p>True to include column headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">columnFooter</span></td>
      <td><p>True to include column footers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to which to save the text of the range</p>
</td>
    </tr>
  </tbody>
</table>
</div>
