---
title: "SwfEncoderOptions Constructor (RgbColor)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_SwfEncoderOptions_ctor_1_b5bb9c48.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/)

# SwfEncoderOptions Constructor (RgbColor)
 
Creates and initializes new [SwfEncoderOptions](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_SwfEncoderOptions.htm.md) class instance. You can set movie background color 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 ( _backgroundColor As RgbColor _
)
```
 
```csharp
public SwfEncoderOptions(RgbColor backgroundColor
)
```
 
### Parameters
 
 - backgroundColor
     - Type: [Aurigma.GraphicsMill.RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md)
Background color for the SWF movie. You can change it later using [BackgroundColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_SwfEncoderOptions_BackgroundColor.htm.md) property.
   
## See Also

### Reference

- [SwfEncoderOptions Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_SwfEncoderOptions.htm.md)
- [SwfEncoderOptions Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_SwfEncoderOptions_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
