# GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*">AppendFrame Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_GrapeCity_Documents_Imaging_GcBitmap_System_Int32_System_Int32_System_Int32_GrapeCity_Documents_Imaging_GifDisposalMethod_System_Int32_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame(GrapeCity.Documents.Imaging.GcBitmap,System.Int32,System.Int32,System.Int32,GrapeCity.Documents.Imaging.GifDisposalMethod,System.Int32,System.Boolean)">AppendFrame(GcBitmap, int, int, int, GifDisposalMethod, int, bool)</h4>
<div class="markdown level1 summary"><p>Writes the specified <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> to the output stream as the next frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AppendFrame(GcBitmap bitmap, int maxColors = 255, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AppendFrame(bitmap As GcBitmap, Optional maxColors As Integer = 255, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)</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="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The source <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">maxColors</span></td>
      <td><p>The maximum number of opaque colors in the palette, from 8 to 256.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.GifDisposalMethod.html">GifDisposalMethod</a></td>
      <td><span class="parametername">disposalMethod</span></td>
      <td><p>Specifies the way in which the frame has to be treated after being displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delayTime</span></td>
      <td><p>The number of hundredths (1/100) of a second to wait before continuing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">userInput</span></td>
      <td><p>Indicates whether or not user input is expected before continuing.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_GrapeCity_Documents_Imaging_GcBitmap_System_UInt32___GrapeCity_Documents_Imaging_DitheringMethod_System_Int32_System_Int32_GrapeCity_Documents_Imaging_GifDisposalMethod_System_Int32_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame(GrapeCity.Documents.Imaging.GcBitmap,System.UInt32[],GrapeCity.Documents.Imaging.DitheringMethod,System.Int32,System.Int32,GrapeCity.Documents.Imaging.GifDisposalMethod,System.Int32,System.Boolean)">AppendFrame(GcBitmap, uint[], DitheringMethod, int, int, GifDisposalMethod, int, bool)</h4>
<div class="markdown level1 summary"><p>Writes the specified <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> to the output stream as the next frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AppendFrame(GcBitmap bitmap, uint[] palette, DitheringMethod ditheringMethod = DitheringMethod.NoDithering, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AppendFrame(bitmap As GcBitmap, palette As UInteger(), Optional ditheringMethod As DitheringMethod = DitheringMethod.NoDithering, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)</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="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The source <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>[]</td>
      <td><span class="parametername">palette</span></td>
      <td><p>The palette with opaque colors in 32-bit ARGB format. Elements with index 256 and above are ignored.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.DitheringMethod.html">DitheringMethod</a></td>
      <td><span class="parametername">ditheringMethod</span></td>
      <td><p>The method of two-dimensional error diffusion dithering.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.GifDisposalMethod.html">GifDisposalMethod</a></td>
      <td><span class="parametername">disposalMethod</span></td>
      <td><p>Specifies the way in which the frame has to be treated after being displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delayTime</span></td>
      <td><p>The number of hundredths (1/100) of a second to wait before continuing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">userInput</span></td>
      <td><p>Indicates whether or not user input is expected before continuing.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_GrapeCity_Documents_Imaging_Indexed8bppBitmap_System_Int32_System_Int32_GrapeCity_Documents_Imaging_GifDisposalMethod_System_Int32_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame(GrapeCity.Documents.Imaging.Indexed8bppBitmap,System.Int32,System.Int32,GrapeCity.Documents.Imaging.GifDisposalMethod,System.Int32,System.Boolean)">AppendFrame(Indexed8bppBitmap, int, int, GifDisposalMethod, int, bool)</h4>
<div class="markdown level1 summary"><p>Writes the specified <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a> to the output stream as the next frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AppendFrame(Indexed8bppBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AppendFrame(bitmap As Indexed8bppBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)</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="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The source <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.GifDisposalMethod.html">GifDisposalMethod</a></td>
      <td><span class="parametername">disposalMethod</span></td>
      <td><p>Specifies the way in which the frame has to be treated after being displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delayTime</span></td>
      <td><p>The number of hundredths (1/100) of a second to wait before continuing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">userInput</span></td>
      <td><p>Indicates whether or not user input is expected before continuing.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_GrapeCity_Documents_Imaging_Indexed4bppBitmap_System_Int32_System_Int32_GrapeCity_Documents_Imaging_GifDisposalMethod_System_Int32_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame(GrapeCity.Documents.Imaging.Indexed4bppBitmap,System.Int32,System.Int32,GrapeCity.Documents.Imaging.GifDisposalMethod,System.Int32,System.Boolean)">AppendFrame(Indexed4bppBitmap, int, int, GifDisposalMethod, int, bool)</h4>
<div class="markdown level1 summary"><p>Writes the specified <a class="xref" href="GrapeCity.Documents.Imaging.Indexed4bppBitmap.html">Indexed4bppBitmap</a> to the output stream as the next frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AppendFrame(Indexed4bppBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AppendFrame(bitmap As Indexed4bppBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)</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="GrapeCity.Documents.Imaging.Indexed4bppBitmap.html">Indexed4bppBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The source <a class="xref" href="GrapeCity.Documents.Imaging.Indexed4bppBitmap.html">Indexed4bppBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.GifDisposalMethod.html">GifDisposalMethod</a></td>
      <td><span class="parametername">disposalMethod</span></td>
      <td><p>Specifies the way in which the frame has to be treated after being displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delayTime</span></td>
      <td><p>The number of hundredths (1/100) of a second to wait before continuing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">userInput</span></td>
      <td><p>Indicates whether or not user input is expected before continuing.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_GrapeCity_Documents_Imaging_GrayscaleBitmap_System_Int32_System_Int32_GrapeCity_Documents_Imaging_GifDisposalMethod_System_Int32_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame(GrapeCity.Documents.Imaging.GrayscaleBitmap,System.Int32,System.Int32,GrapeCity.Documents.Imaging.GifDisposalMethod,System.Int32,System.Boolean)">AppendFrame(GrayscaleBitmap, int, int, GifDisposalMethod, int, bool)</h4>
<div class="markdown level1 summary"><p>Writes the specified <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> to the output stream as the next frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AppendFrame(GrayscaleBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AppendFrame(bitmap As GrayscaleBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)</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="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The source <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.GifDisposalMethod.html">GifDisposalMethod</a></td>
      <td><span class="parametername">disposalMethod</span></td>
      <td><p>Specifies the way in which the frame has to be treated after being displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delayTime</span></td>
      <td><p>The number of hundredths (1/100) of a second to wait before continuing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">userInput</span></td>
      <td><p>Indicates whether or not user input is expected before continuing.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcGifWriter_AppendFrame_GrapeCity_Documents_Imaging_BilevelBitmap_System_Int32_System_Int32_GrapeCity_Documents_Imaging_GifDisposalMethod_System_Int32_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GcGifWriter.AppendFrame(GrapeCity.Documents.Imaging.BilevelBitmap,System.Int32,System.Int32,GrapeCity.Documents.Imaging.GifDisposalMethod,System.Int32,System.Boolean)">AppendFrame(BilevelBitmap, int, int, GifDisposalMethod, int, bool)</h4>
<div class="markdown level1 summary"><p>Writes the specified <a class="xref" href="GrapeCity.Documents.Imaging.BilevelBitmap.html">BilevelBitmap</a> to the output stream as the next frame.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AppendFrame(BilevelBitmap bitmap, int x = 0, int y = 0, GifDisposalMethod disposalMethod = GifDisposalMethod.DoNotDispose, int delayTime = 2, bool userInput = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AppendFrame(bitmap As BilevelBitmap, Optional x As Integer = 0, Optional y As Integer = 0, Optional disposalMethod As GifDisposalMethod = GifDisposalMethod.DoNotDispose, Optional delayTime As Integer = 2, Optional userInput As Boolean = False)</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="GrapeCity.Documents.Imaging.BilevelBitmap.html">BilevelBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The source <a class="xref" href="GrapeCity.Documents.Imaging.BilevelBitmap.html">BilevelBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the frame on the Logical Screen.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Imaging.GifDisposalMethod.html">GifDisposalMethod</a></td>
      <td><span class="parametername">disposalMethod</span></td>
      <td><p>Specifies the way in which the frame has to be treated after being displayed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">delayTime</span></td>
      <td><p>The number of hundredths (1/100) of a second to wait before continuing.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">userInput</span></td>
      <td><p>Indicates whether or not user input is expected before continuing.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
