# C1.WPF.Word.C1WordDocument.Save

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Word_C1WordDocument_Save_" data-uid="C1.WPF.Word.C1WordDocument.Save*">Save Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Word_C1WordDocument_Save_" data-uid="C1.WPF.Word.C1WordDocument.Save*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_Save_System_String_" data-uid="C1.WPF.Word.C1WordDocument.Save(System.String)">Save(string)</h4>
<div class="markdown level1 summary"><p>Save this document to the file with file name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Save(string fileName)</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>The file name for creation or replacement of a file.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_Word_C1WordDocument_Save_" data-uid="C1.WPF.Word.C1WordDocument.Save*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_Save_System_IO_Stream_C1_WPF_Word_FileFormat_" data-uid="C1.WPF.Word.C1WordDocument.Save(System.IO.Stream,C1.WPF.Word.FileFormat)">Save(Stream, FileFormat)</h4>
<div class="markdown level1 summary"><p>Save this document to the stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Save(Stream stream, FileFormat format)</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 writable stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.Word.FileFormat.html">FileFormat</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The file format.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
