---
title: "Font Constructor (Font, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Drawing_Font_ctor_3_f84895a5.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 (Font, Single, Single)
 
Creates new [Font](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_Font.htm.md) class instance. This constructor copies font settings from given [System.Drawing.Font](http://msdn2.microsoft.com/en-us/hcb9kaf8) class instance. 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 ( _font As Font, _horizontalResolution As Single, _verticalResolution As Single _
)
```
 
```csharp
public Font(Font font,float horizontalResolution,float verticalResolution
)
```
 
### Parameters
 
 - font
     - Type: [System.Drawing.Font](http://msdn2.microsoft.com/en-us/hcb9kaf8)
 [System.Drawing.Font](http://msdn2.microsoft.com/en-us/hcb9kaf8) class instance which is used to take settings from.

 - 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)
