---
title: "GifFrame Constructor (Bitmap, Int32, Int32, Int32, DisposalMethod, Boolean, Boolean)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_GifFrame_ctor_7_097ca9f8.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, Int32, Int32, Int32, DisposalMethod, Boolean, Boolean)
 
Creates and initializes a new [GifFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_GifFrame.htm.md) instance. You can associate a bitmap with it as well as set all the frame settings 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 ( _bitmap As Bitmap, _left As Integer, _top As Integer, _delay As Integer, _disposalMethod As DisposalMethod, _interlaced As Boolean, _lastFrame As Boolean _
)
```
 
```csharp
public GifFrame(Bitmap bitmap,int left,int top,int delay,DisposalMethod disposalMethod,bool interlaced,bool lastFrame
)
```
 
### 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 [SetBitmap(Bitmap)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_Frame_SetBitmap_1_fd4033ef.htm.md) method.

 - left
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
X-coordinate of the top left corner of the frame (in pixels). You can change it later using the [Left](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_Frame_Left.htm.md) property.

 - top
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Y-coordinate of the top left corner of the frame (in pixels). You can change it later using the [Left](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_Frame_Left.htm.md) property.

 - 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 using the [Delay](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifFrame_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 using the [DisposalMethod](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifFrame_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 using the [Interlaced](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifFrame_Interlaced.htm.md) property.

 - lastFrame
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value that specifies if the frame is the last one and the global palette can be saved immediately. You can change it later using the [LastFrame](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_LastFrame.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)
