---
title: "Font Constructor (Font, UnitConverterObject)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Drawing_Font_ctor_2_7efae793.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, UnitConverterObject)
 
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.
 
**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, _unitConverter As UnitConverterObject _
)
```
 
```csharp
public Font(Font font,UnitConverterObject unitConverter
)
```
 
### 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.

 - unitConverter
     - Type: [Aurigma.GraphicsMill.UnitConverterObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_UnitConverterObject.htm.md)
A [UnitConverterObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_UnitConverterObject.htm.md) descendant class which is used to grab resolution (DPI) and unit.
   
## 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)
