---
title: "SvgReader Constructor (String, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_SvgReader_ctor_3_5cb9ea1d.htm
product: "Graphics Mill"
---

# SvgReader Constructor (String, Single, Single)
 
Initializes a new instance of the [SvgReader](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_SvgReader.htm.md) class using the specified file name 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 SvgReader(string fileName,float dpiX,float dpiY
)
```
 
### Parameters
 
 - fileName
     - Type: System.String
The name of the file to create this reader for.

 - dpiX
     - Type: System.Single
The horizontal resolution of the SVG file in DPI.

 - dpiY
     - Type: System.Single
The vertical resolution of the SVG file in DPI.
   
## See Also

### Reference

- [SvgReader Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Codecs_SvgReader.htm.md)
- [SvgReader Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Codecs_SvgReader_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Codecs.htm.md)
