---
Product: psd
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/psd/net/layer
---

# Layer

## Overview

`Layer` is a class in Aspose.PSD FOSS for .NET.

Represents a single PSD layer with basic metadata used by the FOSS library.

Properties: `BlendModeKey`, `Bottom`, `Bounds`, `ChannelInformation`, `ChannelsCount`, `Clipping`, and 11 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Name` | `string` | Read/Write | Gets or sets the Pascal layer name stored in the layer record. |
| `Bounds` | `Rectangle` | Read | Gets the Aspose.PSD-compatible local layer rectangle. |
| `Width` | `int` | Read | Gets the layer width in pixels. |
| `Height` | `int` | Read | Gets the layer height in pixels. |
| `Top` | `int` | Read/Write | Gets the top edge of the layer bounds. |
| `Left` | `int` | Read/Write | Gets the left edge of the layer bounds. |
| `Bottom` | `int` | Read/Write | Gets the bottom edge of the layer bounds. |
| `Right` | `int` | Read/Write | Gets the right edge of the layer bounds. |
| `IsVisible` | `bool` | Read/Write | Gets or sets a value indicating whether the layer is visible. |
| `Opacity` | `byte` | Read/Write | Gets or sets the layer opacity in the 0-255 range. |
| `Clipping` | `byte` | Read/Write | Gets the PSD clipping value for the layer. |
| `BlendModeKey` | `BlendMode` | Read/Write | Gets or sets the layer blend mode key. |
| `ChannelsCount` | `int` | Read | Gets the layer's channels count. |
| `ChannelInformation` | `ChannelInformation[]` | Read/Write | Gets or sets the channel information. |
| `LayerMaskData` | `LayerMaskData?` | Read/Write | Gets or sets the layer mask data. |
| `LayerBlendingRangesData` | `LayerBlendingRangesData` | Read/Write | Gets or sets the layer blending ranges data. |
| `LayerTrailerSize` | `int` | Read | Gets the fixed-size byte count of the layer record trailer fields. |

## See Also

- [Aspose.PSD for .NET — Enterprise API Reference](https://reference.aspose.com/psd/net/)