---
title: "FloodFill.PreserveAlpha Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_PreserveAlpha.htm
product: "Graphics Mill"
---

# FloodFill.PreserveAlpha Property 
 
Gets or sets a value indicating whether to leave alpha channel intacted with the flood fill algorithm.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public bool PreserveAlpha { get; set; }
```
 
### Property Value
 `true` if to preserve alpha channel; otherwise, `false`. The default value is `true`.
 
## Remarks
 If `true`, alpha channel will not be overwritten by the [FillColor](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_FillColor.htm.md).
   
## See Also

### Reference

- [FloodFill Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_FloodFill.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
