---
title: "FloodFill..::.PreserveAlpha Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_PreserveAlpha.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/)

# FloodFill.PreserveAlpha Property 
 
Get/sets a value that specifies if to leave alpha channel intacted with the flood fill algorithm.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Property PreserveAlpha As Boolean
```
 
```csharp
public bool PreserveAlpha { get; set; }
```
 
### Property Value
Value specifying if to preserve alpha channel. If **true**, alpha channel will not be overwritten by the [FillColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_FillColor.htm.md).
 
## Remarks
 Default value is **true**.
   
## See Also

### Reference

- [FloodFill Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_FloodFill.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
