---
title: "Font Constructor (String, Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Drawing_Font_ctor_4_cb9a8954.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Font Constructor (String, Single, Single, Single)
 
Creates new [Font](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md) class instance. Here you can specify font typeface name and its size. You can also specify resolution here (necessary if you are using units other than [Pixel](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Unit.htm.md)).
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _familyName As String, _size As Single, _horizontalResolution As Single, _verticalResolution As Single _
)
```
 
```csharp
public Font(string familyName,float size,float horizontalResolution,float verticalResolution
)
```
 
### Parameters
 
 - familyName
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
Font typeface name. You can change this value later through property [Name](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Font_Name.htm.md).

 - size
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Font size. You can change this value later through property [Size](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Drawing_Font_Size.htm.md).

 - horizontalResolution
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Horizontal resolution (dots per inch - DPI). You can change this value later through property [HorizontalResolution](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_UnitConverterObject_HorizontalResolution.htm.md).

 - verticalResolution
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Vertical resolution (dots per inch - DPI). You can change this value later through property [VerticalResolution](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_UnitConverterObject_VerticalResolution.htm.md).
   
## See Also

### Reference

- [Font Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md)
- [Font Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Drawing_Font_ctor.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
