---
title: "RasterImage.HasAlpha"
url: "https://reference.aspose.com/psd/net/aspose.psd/rasterimage/hasalpha/"
product: "Aspose.PSD for .NET API Reference"
description: "RasterImage property. Gets a value indicating whether this instance has alpha"
---

{{< psd/tize >}}
## RasterImage.HasAlpha property

Gets a value indicating whether this instance has alpha.

```csharp
public virtual bool HasAlpha { get; }
```

### Property Value

`true` if this instance has alpha; otherwise, `false`.

### See Also

* class [RasterImage](../)
* namespace [Aspose.PSD](../../../aspose.psd/)
* assembly [Aspose.PSD](../../../)


