# GrapeCity.Documents.Imaging.GifDisposalMethod

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Imaging_GifDisposalMethod" data-uid="GrapeCity.Documents.Imaging.GifDisposalMethod" class="text-break">GifDisposalMethod Enum
</h1>
  <div class="markdown level0 summary"><p>Indicates the way in which the GIF frame has to be treated after being displayed.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.html">GrapeCity.Documents.Imaging</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_GifDisposalMethod_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum GifDisposalMethod</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum GifDisposalMethod</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GifDisposalMethod_DoNotDispose">DoNotDispose</td>
        <td><p>Do not dispose. The graphic is to be left in place.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GifDisposalMethod_NotSpecified">NotSpecified</td>
        <td><p>No disposal specified. The decoder is not required to take any action.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GifDisposalMethod_RestoreToBackgroundColor">RestoreToBackgroundColor</td>
        <td><p>Restore to background color. The area used by the graphic must be restored to the background color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GifDisposalMethod_RestoreToPrevious">RestoreToPrevious</td>
        <td><p>Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
