---
title: "EpsWriter Constructor (String, Int32, Int32, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_EpsWriter_ctor_5_0aba20c9.htm
product: "Graphics Mill"
---

# EpsWriter Constructor (String, Int32, Int32, Single, Single)
 
Initializes a new instance of the [EpsWriter](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_EpsWriter.htm.md) class using the specified file name, width, height, and resolution.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public EpsWriter(string fileName,int width,int height,float dpiX,float dpiY
)
```
 
### Parameters
 
 - fileName
     - Type: System.String
The name of the file to create this writer for.

 - width
     - Type: System.Int32
The width of the resulting image.

 - height
     - Type: System.Int32
The height of the resulting image.

 - dpiX
     - Type: System.Single
The horizontal resolution of the resulting image in DPI.

 - dpiY
     - Type: System.Single
The vertical resolution of the resulting image in DPI.
   
## See Also

### Reference

- [EpsWriter Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_EpsWriter.htm.md)
- [EpsWriter Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_EpsWriter_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
