---
title: "SvgReader Constructor (String, FontRegistry)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Codecs_SvgReader_ctor_2_2aaead88.htm
product: "Graphics Mill"
---

# SvgReader Constructor (String, FontRegistry)
 
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 fonts.
 
**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,FontRegistry fontRegistry
)
```
 
### Parameters
 
 - fileName
     - Type: System.String
The name of the file to create this reader for.

 - fontRegistry
     - Type: [Aurigma.GraphicsMill.Drawing.FontRegistry](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_FontRegistry.htm.md)
The [FontRegistry](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_FontRegistry.htm.md) of the SVG file to create this reader for.
   
## 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)
