# FarPoint.Win.Spread.FpSpread.SaveExcel

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*">SaveExcel Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream)">SaveExcel(Stream)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to which to save the data</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream,System.String)">SaveExcel(Stream, string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream, password As String) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream to which to save the data</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>The file password</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream,FarPoint.Excel.ExcelWarningList)">SaveExcel(Stream, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream
with a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream, warningList As ExcelWarningList) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The stream to save to</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_FarPoint_Excel_ExcelSaveFlags_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream,FarPoint.Excel.ExcelSaveFlags)">SaveExcel(Stream, ExcelSaveFlags)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream
with the headers exported as data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_FarPoint_Excel_ExcelSaveFlags_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream,FarPoint.Excel.ExcelSaveFlags,System.String)">SaveExcel(Stream, ExcelSaveFlags, string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream
with the headers exported as data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags, password As String) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>Password of file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_FarPoint_Excel_ExcelSaveFlags_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream,FarPoint.Excel.ExcelSaveFlags,FarPoint.Excel.ExcelWarningList)">SaveExcel(Stream, ExcelSaveFlags, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream
with headers and a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_IO_Stream_FarPoint_Excel_ExcelSaveFlags_FarPoint_Excel_ExcelWarningList_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.IO.Stream,FarPoint.Excel.ExcelSaveFlags,FarPoint.Excel.ExcelWarningList,System.String)">SaveExcel(Stream, ExcelSaveFlags, ExcelWarningList, string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified stream
with headers and a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(Stream stream, ExcelSaveFlags saveFlags, ExcelWarningList warningList, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(stream As Stream, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList, password As String) As Boolean</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>Stream</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>Password of file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No stream specified or specified stream is null</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Excel_ExcelSaveFlags_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Excel.ExcelSaveFlags)">SaveExcel(string, ExcelSaveFlags)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with the headers exported as data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Excel_ExcelSaveFlags_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Excel.ExcelSaveFlags,System.String)">SaveExcel(string, ExcelSaveFlags, string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with the headers exported as data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags, password As String) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>Password of file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Excel_ExcelSaveFlags_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Excel.ExcelSaveFlags,FarPoint.Excel.ExcelWarningList)">SaveExcel(string, ExcelSaveFlags, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with headers and a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Excel_ExcelSaveFlags_FarPoint_Excel_ExcelWarningList_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Excel.ExcelSaveFlags,FarPoint.Excel.ExcelWarningList,System.String)">SaveExcel(string, ExcelSaveFlags, ExcelWarningList, string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with headers and a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, ExcelSaveFlags saveFlags, ExcelWarningList warningList, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, saveFlags As ExcelSaveFlags, warningList As ExcelWarningList, password As String) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelSaveFlags.html">ExcelSaveFlags</a></td>
      <td><span class="parametername">saveFlags</span></td>
      <td><p>Save flag</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>Password of file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String)">SaveExcel(string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_System_String_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,System.String)">SaveExcel(string, string)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, string password)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, password As String) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">password</span></td>
      <td><p>Password of file</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Excel.ExcelWarningList)">SaveExcel(string, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, warningList As ExcelWarningList) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Win_Spread_Model_IncludeHeaders_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Win.Spread.Model.IncludeHeaders)">SaveExcel(string, IncludeHeaders)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with the headers exported as data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, IncludeHeaders includeHeaders)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, includeHeaders As IncludeHeaders) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Model.IncludeHeaders.html">IncludeHeaders</a></td>
      <td><span class="parametername">includeHeaders</span></td>
      <td><p>Whether to include headers</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FpSpread_SaveExcel_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel*"></a>
<h4 id="FarPoint_Win_Spread_FpSpread_SaveExcel_System_String_FarPoint_Win_Spread_Model_IncludeHeaders_FarPoint_Excel_ExcelWarningList_" data-uid="FarPoint.Win.Spread.FpSpread.SaveExcel(System.String,FarPoint.Win.Spread.Model.IncludeHeaders,FarPoint.Excel.ExcelWarningList)">SaveExcel(string, IncludeHeaders, ExcelWarningList)</h4>
<div class="markdown level1 summary"><p>Saves the content of the Spread component to the specified Excel-compatible file
with headers and a list of warnings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SaveExcel(string fileName, IncludeHeaders includeHeaders, ExcelWarningList warningList)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SaveExcel(fileName As String, includeHeaders As IncludeHeaders, warningList As ExcelWarningList) As Boolean</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.string">string</a></td>
      <td><span class="parametername">fileName</span></td>
      <td><p>Path and name of file</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Model.IncludeHeaders.html">IncludeHeaders</a></td>
      <td><span class="parametername">includeHeaders</span></td>
      <td><p>Whether to include headers</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Excel/FarPoint.Excel.ExcelWarningList.html">ExcelWarningList</a></td>
      <td><span class="parametername">warningList</span></td>
      <td><p>List of Excel warnings</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if successful; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.filenotfoundexception">FileNotFoundException</a></td>
      <td><p>Specified file is not found</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>No file name is specified (or specified file name is null)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>No file name is specified (or specified file name is empty)</p>
</td>
    </tr>
  </tbody>
</table>
</div>
