---
title: "Bitmap..::.HasAlpha Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Bitmap_HasAlpha.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/)

# Bitmap.HasAlpha Property 
 
Specifies whether current pixel format supports alpha channel (information about opacity of pixels).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public ReadOnly Property HasAlpha As Boolean
```
 
```csharp
public bool HasAlpha { get; }
```
 
### Property Value
If true, current pixel format supports alpha channel, if false, no transparency information can be stored in current bitmap.
 
## Examples
  
```
Console.WriteLine("Alpha: " & bitmap.HasAlpha)
```
 
```csharp
Console.WriteLine("Alpha: " + bitmap.HasAlpha);
```
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
