---
title: "PsdReader.MergeLayers Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Codecs_Psd_PsdReader_MergeLayers.htm
product: "Graphics Mill"
---

# PsdReader.MergeLayers Method 
 
Creates a merged copy of all visible layers.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs.Psd](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs_Psd.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public Bitmap MergeLayers()
```
 
### Return Value
A [Bitmap](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Bitmap.htm.md) containing a merged copy of all visible layers.
 
## Remarks
 This method is useful when a source PSD image does not contain a merged copy of its layers (i.e. the [MergedImageFrame](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Codecs_Psd_PsdReader_MergedImageFrame.htm.md) returns null).
   
## See Also

### Reference

- [PsdReader Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_Psd_PsdReader.htm.md)
- [MergeLayers Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_Psd_PsdReader_MergeLayers.htm.md)
- [Aurigma.GraphicsMill.Codecs.Psd Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs_Psd.htm.md)
