---
title: "GifEncoderOptions Constructor (Int32, DisposalMethod, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_ctor_3_d527ebb7.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# GifEncoderOptions Constructor (Int32, DisposalMethod, Boolean)
 
Creates and initializes new [GifEncoderOptions](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_GifEncoderOptions.htm.md) class instance. You can initialize frame-related properties here.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _delay As Integer, _disposalMethod As DisposalMethod, _interlaced As Boolean _
)
```
 
```csharp
public GifEncoderOptions(int delay,DisposalMethod disposalMethod,bool interlaced
)
```
 
### Parameters
 
 - delay
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Number of hundredths (1/100) of a second to wait after rendering the frame. You can change it later through [Delay](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_Delay.htm.md) property.

 - disposalMethod
     - Type: [Aurigma.GraphicsMill.Codecs.DisposalMethod](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_DisposalMethod.htm.md)
 [DisposalMethod](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_DisposalMethod.htm.md) value that specifies a disposal method for the frame. You can change it later through [DisposalMethod](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_DisposalMethod.htm.md) property.

 - interlaced
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value that specifies if the frame should be interlaced. You can change it later through [Interlaced](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_Interlaced.htm.md) property.
   
## See Also

### Reference

- [GifEncoderOptions Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_GifEncoderOptions.htm.md)
- [GifEncoderOptions Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
