---
title: "GraphicsContainer Constructor (Single, Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Drawing_GraphicsContainer_ctor_4_c2e5c03f.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# GraphicsContainer Constructor (Single, Single, Single, Single)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Initializes a new instance of the [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md) class with the specified bounds.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public GraphicsContainer(float width,float height,float dpiX,float dpiY
)
```
 
### Parameters
 
 - width
     - Type: System.Single
The width of the container.

 - height
     - Type: System.Single
The height of the container.

 - dpiX
     - Type: System.Single
The horizontal resolution of the [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md) in DPI.

 - dpiY
     - Type: System.Single
The vertical resolution of the [GraphicsContainer](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md) in DPI.
   
## See Also

### Reference

- [GraphicsContainer Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_GraphicsContainer.htm.md)
- [GraphicsContainer Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_GraphicsContainer_ctor.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
