---
title: "PsdFrameExtensions.ToGraphicsContainer Method (PsdFrame, Pipeline, ResizeMode)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Templates_PsdFrameExtensions_ToGraphicsContainer_3_2f902f24.htm
product: "Graphics Mill"
---

# PsdFrameExtensions.ToGraphicsContainer Method (PsdFrame, Pipeline, ResizeMode)
 
Converts the [PsdFrame](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_Psd_PsdFrame.htm.md) to [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md) using the given [Pipeline](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Pipeline.htm.md) and [ResizeMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_ResizeMode.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.Templates](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Templates (in Aurigma.GraphicsMill.Templates.dll)
 
## Syntax
  
```csharp
public static GraphicsContainer ToGraphicsContainer(this PsdFrame frame,Pipeline image,ResizeMode fillMode
)
```
 
### Parameters
 
 - frame
     - Type: [Aurigma.GraphicsMill.Codecs.Psd.PsdFrame](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_Psd_PsdFrame.htm.md)

 - image
     - Type: [Aurigma.GraphicsMill.Pipeline](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Pipeline.htm.md)

 - fillMode
     - Type: [Aurigma.GraphicsMill.Transforms.ResizeMode](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_ResizeMode.htm.md)
 
### Return Value
The [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md).
   
## See Also

### Reference

- [PsdFrameExtensions Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Templates_PsdFrameExtensions.htm.md)
- [ToGraphicsContainer Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Templates_PsdFrameExtensions_ToGraphicsContainer.htm.md)
- [Aurigma.GraphicsMill.Templates Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Templates.htm.md)
