---
title: "GifEncoderOptions..::.BackgroundEntryIndex Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_BackgroundEntryIndex.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.BackgroundEntryIndex Property 
 
Gets/sets an index of the background color.
 
**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 Property BackgroundEntryIndex As Integer
```
 
```csharp
public int BackgroundEntryIndex { get; set; }
```
 
### Property Value
An index in the global palette for the background color.
 
## Remarks
  
Using this property you can also disable background. To do this, pass -1.
 
If [GlobalPalette](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_GifEncoderOptions_GlobalPalette.htm.md) is not specified, this property is ignored (the same effect as specifying -1).
 
Default value is -1.
   
## See Also

### Reference

- [GifEncoderOptions Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_GifEncoderOptions.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
