# GrapeCity.Documents.Imaging.GcBitmap.SaveAsTiff

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_GcBitmap_SaveAsTiff_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.SaveAsTiff*">SaveAsTiff Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_GcBitmap_SaveAsTiff_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.SaveAsTiff*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcBitmap_SaveAsTiff_System_IO_Stream_System_Nullable_System_Drawing_Rectangle__GrapeCity_Documents_Imaging_TiffFrameSettings_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.SaveAsTiff(System.IO.Stream,System.Nullable{System.Drawing.Rectangle},GrapeCity.Documents.Imaging.TiffFrameSettings)">SaveAsTiff(Stream, Rectangle?, TiffFrameSettings)</h4>
<div class="markdown level1 summary"><p>Saves the image into a Stream in TIFF format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SaveAsTiff(Stream stream, Rectangle? clipRect = null, TiffFrameSettings frameSettings = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SaveAsTiff(stream As Stream, Optional clipRect As Rectangle? = Nothing, Optional frameSettings As TiffFrameSettings = Nothing)</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 output stream.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>?</td>
      <td><span class="parametername">clipRect</span></td>
      <td><p>Clipping rectangle of the image to be saved.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.TiffFrameSettings.html">TiffFrameSettings</a></td>
      <td><span class="parametername">frameSettings</span></td>
      <td><p>The settings for encoding TIFF frame.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_GcBitmap_SaveAsTiff_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.SaveAsTiff*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcBitmap_SaveAsTiff_System_String_System_Nullable_System_Drawing_Rectangle__GrapeCity_Documents_Imaging_TiffFrameSettings_" data-uid="GrapeCity.Documents.Imaging.GcBitmap.SaveAsTiff(System.String,System.Nullable{System.Drawing.Rectangle},GrapeCity.Documents.Imaging.TiffFrameSettings)">SaveAsTiff(string, Rectangle?, TiffFrameSettings)</h4>
<div class="markdown level1 summary"><p>Saves the image into a file in TIFF format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SaveAsTiff(string path, Rectangle? clipRect = null, TiffFrameSettings frameSettings = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SaveAsTiff(path As String, Optional clipRect As Rectangle? = Nothing, Optional frameSettings As TiffFrameSettings = Nothing)</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">path</span></td>
      <td><p>The output file path.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a>?</td>
      <td><span class="parametername">clipRect</span></td>
      <td><p>Clipping rectangle of the image to be saved.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.TiffFrameSettings.html">TiffFrameSettings</a></td>
      <td><span class="parametername">frameSettings</span></td>
      <td><p>The settings for encoding TIFF frame.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
