---
title: "DisposalMethod Enumeration"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_DisposalMethod.htm
product: "Graphics Mill"
---

# DisposalMethod Enumeration
 
Contains values for disposal methods used in animated GIFs to specify what to do with a frame after it has been displayed.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public enum DisposalMethod
```
 
## Members

 |  Member name |  Description |
| --- | --- |
 |  Background |  Restore to background color. The area used by a frame will be restored to the background color. |
 |  None |  A frame will be left in place. |
 |  NotSpecified |  The decoder is not required to take any action. |
 |  Previous |  Restore to previous. The decoder is required to restore the area overwritten by a frame with what was there prior to rendering the frame. |
   
## See Also

### Reference

- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
