---
title: "GifFrame Constructor (Bitmap, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_GifFrame_ctor_2_c487cc6e.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/)

# GifFrame Constructor (Bitmap, Boolean)
 
Creates and initializes new [GifFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_GifFrame.htm.md) class instance. You can associate a bitmap with it.
 
**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 ( _bitmap As Bitmap, _interlaced As Boolean _
)
```
 
```csharp
public GifFrame(Bitmap bitmap,bool interlaced
)
```
 
### Parameters
 
 - bitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
 [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md) class instance which should be associated with this frame. To put another bitmap into frame, you should use the [SetBitmap(Bitmap)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_Frame_SetBitmap_1_fd4033ef.htm.md) method.

 - 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 using the [Interlaced](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_Interlaced.htm.md) property.
   
## See Also

### Reference

- [GifFrame Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_GifFrame.htm.md)
- [GifFrame Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_GifFrame_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
