---
title: "PixelFormatUtils..::.HasAlpha Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_PixelFormatUtils_HasAlpha_1_3e209c07.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/)

# PixelFormatUtils.HasAlpha Method 
 
Returns value that specifies whether pixel format supports alpha channel.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Function HasAlpha ( _format As PixelFormat _
) As Boolean
```
 
```csharp
public static bool HasAlpha(PixelFormat format
)
```
 
### Parameters
 
 - format
     - Type: [Aurigma.GraphicsMill.PixelFormat](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md)
 [PixelFormat](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormat.htm.md) enumeration member to check.
 
### Return Value
Value that specifies whether pixel format supports alpha channel (**true**) or not (**false**).
   
## See Also

### Reference

- [PixelFormatUtils Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_PixelFormatUtils.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
